Skip to content

Commit 609c9a9

Browse files
authored
suppress error when no command specified (#30)
yargs will show the help by default when no command is specified. The error message makes to think that it is a bug in support tool.
1 parent 5ea5e83 commit 609c9a9

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

lib/cli/index.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@ module.exports = (options = {}) => {
1818
});
1919
},
2020
fail: (msg) => {
21-
log.error(msg);
2221
console.log();
2322
cli.showHelp();
2423
process.exit(1);

0 commit comments

Comments
 (0)