feature(cloudcmd) isNaN(port): throw -> console.error

This commit is contained in:
coderaiser 2014-10-20 10:25:24 -04:00
parent 61e213ec22
commit 3a7ebd0928

View file

@ -25,7 +25,7 @@
help();
else
if (isNaN(port))
throw('Error: port should be a number.');
console.error('Error: port should be a number.');
else
start(true, {
port: port