Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Re-add yargs/yargs#783 workaround for parserConfiguration
Unfortunately yargs configuration in package.json takes precedence over .parserConfiguration(), so under mocha (which has yargs in its package.json) the .parserConfiguration() call is ignored. Re-add the require.main workaround to prevent this. Signed-off-by: Kevin Locke <kevin@kevinlocke.name>
- Loading branch information