Skip to content

Commit

Permalink
fix parsing of config files with "_mocha"
Browse files Browse the repository at this point in the history
  • Loading branch information
juergba committed Apr 27, 2019
1 parent 59fcf71 commit ab8e14f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/cli/cli.js
Expand Up @@ -60,7 +60,8 @@ exports.main = (argv = process.argv.slice(2)) => {
`
)
.parserConfiguration(YARGS_PARSER_CONFIG)
.parse(argv, loadOptions(argv));
.config(loadOptions(argv))
.parse(argv);
};

// allow direct execution
Expand Down

0 comments on commit ab8e14f

Please sign in to comment.