Skip to content

Commit

Permalink
Throw an error when command is not found
Browse files Browse the repository at this point in the history
  • Loading branch information
monkbroc committed May 22, 2024
1 parent 6a0eb44 commit a26a2e3
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/app/cli.js
Original file line number Diff line number Diff line change
Expand Up @@ -146,6 +146,8 @@ module.exports = class CLI {
throw argv.clierror;
} else if (argv.clicommand){
await argv.clicommand.exec(argv);
} else {
throw commandProcessor.errors.unknownCommandError(args, null);
}
}

Expand Down

0 comments on commit a26a2e3

Please sign in to comment.