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 committed Apr 5, 2019
1 parent 83a8305 commit 88eecd3
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 88eecd3

Please sign in to comment.