Skip to content

Commit

Permalink
feat: support update command
Browse files Browse the repository at this point in the history
(at this point there's no difference from install)
  • Loading branch information
medikoo committed Oct 23, 2018
1 parent d70afc8 commit 351a592
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion bin/dev-package.js
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,9 @@ if (!command) {
process.exit(1);
}

if (command !== "install") {
const supportedCommands = new Set(["install", "update"]);

if (!supportedCommands.has(command)) {
process.stderr.write(`${ command } is not a suppported command\n\n${ usage }`);
process.exit(1);
}
Expand Down

0 comments on commit 351a592

Please sign in to comment.