Skip to content

Commit

Permalink
fix(cli): add quickfix to cli
Browse files Browse the repository at this point in the history
  • Loading branch information
AndreVarandas committed Sep 20, 2021
1 parent 25999bd commit 5151f4b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/cli.ts
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ function parseArgsIntoOptions (rawArgs: string[]): SunriseOptions | undefined {
date: args['--date'],
extended: args['--extended']
}
} catch (error) {
} catch (error: any) {
if (error.code === 'ARG_UNKNOWN_OPTION') {
console.log(error.message)
process.exit(2)
Expand Down

0 comments on commit 5151f4b

Please sign in to comment.