Skip to content

Commit

Permalink
Do not pass argv twice
Browse files Browse the repository at this point in the history
  • Loading branch information
inukshuk authored and boneskull committed Apr 9, 2019
1 parent f05a58f commit 5121211
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/cli/cli.js
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ exports.main = (argv = process.argv.slice(2)) => {

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

yargs(argv)
yargs()
.scriptName('mocha')
.command(commands.run)
.command(commands.init)
Expand Down

0 comments on commit 5121211

Please sign in to comment.