mirror of
https://github.com/coderaiser/cloudcmd.git
synced 2026-01-23 18:55:26 +00:00
feature(cloudcmd) isNaN(port): throw -> console.error
This commit is contained in:
parent
61e213ec22
commit
3a7ebd0928
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue