Skip to content

Commit

Permalink
Fix some lint warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
eablack committed Aug 27, 2024
1 parent edbf30a commit 6ee8e66
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
2 changes: 1 addition & 1 deletion packages/cli/src/commands/apps/errors.ts
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ export default class Errors extends Command {
async run() {
const {flags} = await this.parse(Errors)

const hours = Number.parseInt(flags.hours)
const hours = Number.parseInt(flags.hours, 10)
const NOW = new Date().toISOString()
const YESTERDAY = new Date(Date.now() - (hours * 60 * 60 * 1000)).toISOString()
const DATE_QUERY = `start_time=${YESTERDAY}&end_time=${NOW}&step=1h`
Expand Down
5 changes: 2 additions & 3 deletions packages/cli/src/commands/keys/clear.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
import {Args, ux} from '@oclif/core'
import color from '@heroku-cli/color'
import {ux} from '@oclif/core'
import * as Heroku from '@heroku-cli/schema'
import {flags, Command} from '@heroku-cli/command'
import {Command} from '@heroku-cli/command'

export default class Clear extends Command {
static description = 'remove all SSH keys for current user'
Expand Down

0 comments on commit 6ee8e66

Please sign in to comment.