Skip to content

Commit

Permalink
Reduce cyclomatic complexity (#175)
Browse files Browse the repository at this point in the history
  • Loading branch information
Yash-Singh1 committed Jan 16, 2021
1 parent 569def4 commit 5400b66
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions index.js
Expand Up @@ -189,9 +189,7 @@ const meow = (helpText, options) => {
if (argv._.length === 0 && options.argv.length === 1) {
if (argv.version === true && options.autoVersion) {
showVersion();
}

if (argv.help === true && options.autoHelp) {
} else if (argv.help === true && options.autoHelp) {
showHelp(0);
}
}
Expand Down

0 comments on commit 5400b66

Please sign in to comment.