Skip to content

Commit

Permalink
remove unused lines
Browse files Browse the repository at this point in the history
Signed-off-by: Outsider <outsideris@gmail.com>
  • Loading branch information
outsideris committed Jul 16, 2019
1 parent 76b1687 commit 775f542
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions lib/cli/options.js
Expand Up @@ -17,7 +17,6 @@ const {loadConfig, findConfig} = require('./config');
const findUp = require('find-up');
const {deprecate} = require('../utils');
const debug = require('debug')('mocha:cli:options');
const {createMissingArgumentError} = require('../errors');
const {isNodeFlag} = require('./node-flags');

/**
Expand Down Expand Up @@ -132,7 +131,6 @@ const parse = (args = [], defaultValues = {}, ...configObjects) => {
boolean: types.boolean.concat(nodeArgs.map(pair => pair[0]))
});
if (result.error) {
const error = createMissingArgumentError(result.error.message);
console.error(ansi.red(`Error: ${result.error.message}`));
process.exit(1);
}
Expand Down

0 comments on commit 775f542

Please sign in to comment.