Skip to content

Commit

Permalink
chore: expression func
Browse files Browse the repository at this point in the history
Co-Authored-By: James George <jamesgeorge998001@gmail.com>
  • Loading branch information
evenstensberg and jamesgeorge007 committed Aug 4, 2019
1 parent 1070038 commit ce968e4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/bootstrap.js
Expand Up @@ -4,7 +4,7 @@ const cmdArgs = require('command-line-args');

require('./utils/process-log');

const helpFlagPresent = (args) => {
const helpFlagPresent = (args) => args.find(arg => ['help', '--help'].indexOf(arg) !== -1);
return args.find(arg => arg === 'help' || arg === '--help');
}

Expand Down

0 comments on commit ce968e4

Please sign in to comment.