Skip to content

Commit 809f46b

Browse files
author
Josh Goldberg
authored
Used commander's .opts() to parse raw argv (#672)
1 parent 9cd2b70 commit 809f46b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/cli/runCli.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ export const runCli = async (
3535

3636
const parsedArgv = {
3737
config: "./.eslintrc.js",
38-
...(command.parse(rawArgv) as Partial<TSLintToESLintSettings>),
38+
...command.parse(rawArgv).opts(),
3939
};
4040

4141
const programOptions = command.opts();

0 commit comments

Comments
 (0)