Fix running commands
This commit is contained in:
parent
32e86dc699
commit
e09599aeae
@ -60,7 +60,7 @@ require("./outdated");
|
|||||||
// See https://github.com/tj/commander.js/blob/fefda77f463292/index.js#L686-L763
|
// See https://github.com/tj/commander.js/blob/fefda77f463292/index.js#L686-L763
|
||||||
program.parse(argvWithoutOptions.args.concat(argvWithoutOptions.unknown));
|
program.parse(argvWithoutOptions.args.concat(argvWithoutOptions.unknown));
|
||||||
|
|
||||||
if (!program.args.length) {
|
if (program.rawArgs.length < 3) {
|
||||||
program.help();
|
program.help();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user