Check invalid command

This commit is contained in:
Jordi Baylina 2018-10-21 20:29:54 +02:00
parent f4cab2e9ed
commit 60e1ce4c41
No known key found for this signature in database
GPG Key ID: 7480C80C1BE43112

2
cli.js
View File

@ -340,6 +340,8 @@ try {
console.log(S); console.log(S);
process.exit(0); process.exit(0);
} else {
throw new Error("Invalid Command");
} }
} catch(err) { } catch(err) {
console.log("ERROR: " + err); console.log("ERROR: " + err);