Skip to content

Commit

Permalink
Merge pull request #741 from particle-iot/bug/sc-122790/invalid-comma…
Browse files Browse the repository at this point in the history
…nds-are-not-failing-properly

fix: [sc-122790] Invalid commands are not failing properly
  • Loading branch information
monkbroc authored May 23, 2024
2 parents dabc3d1 + a26a2e3 commit a61b9cf
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 a61b9cf

Please sign in to comment.