Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update dependencies yargs and yargs-parser #4543

Merged
merged 2 commits into from Jan 18, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
3 changes: 0 additions & 3 deletions bin/mocha
Expand Up @@ -36,8 +36,6 @@ const disableTimeouts = value => {
if (impliesNoTimeouts(value)) {
debug('option %s disabled timeouts', value);
mochaArgs.timeout = 0;
delete mochaArgs.timeouts;
delete mochaArgs.t;
}
};

Expand Down Expand Up @@ -93,7 +91,6 @@ if (mochaArgs.require && mochaArgs.require.includes('esm')) {
if (!mochaArgs.require.length) {
delete mochaArgs.require;
}
delete mochaArgs.r;
}

if (Object.keys(nodeArgs).length) {
Expand Down
3 changes: 2 additions & 1 deletion lib/cli/options.js
Expand Up @@ -38,7 +38,8 @@ const {isNodeFlag} = require('./node-flags');
const YARGS_PARSER_CONFIG = {
'combine-arrays': true,
'short-option-groups': false,
'dot-notation': false
'dot-notation': false,
'strip-aliased': true
};

/**
Expand Down