Skip to content

Commit

Permalink
chore: minor code refactor
Browse files Browse the repository at this point in the history
jamesgeorge007 authored and shubhamsc committed Oct 10, 2019
1 parent d62c5df commit ff06263
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bin/taiko.js
Original file line number Diff line number Diff line change
@@ -76,7 +76,7 @@ function setDisableLogout() {
}

function seekingForHelp(args) {
return args.includes('-h') || args.includes('--help');
return ['-h', '--help'].some(arg => args.includes(arg));
}

function registerSubcommandForPlugins(program, plugins) {

0 comments on commit ff06263

Please sign in to comment.