Skip to content

Commit 5121211

Browse files
inukshukboneskull
authored andcommitted
Do not pass argv twice
1 parent f05a58f commit 5121211

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/cli/cli.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ exports.main = (argv = process.argv.slice(2)) => {
3232

3333
Error.stackTraceLimit = Infinity; // configurable via --stack-trace-limit?
3434

35-
yargs(argv)
35+
yargs()
3636
.scriptName('mocha')
3737
.command(commands.run)
3838
.command(commands.init)

0 commit comments

Comments
 (0)