mirror of
https://github.com/coderaiser/cloudcmd.git
synced 2026-01-23 10:45:47 +00:00
testing mode configuration with clear argv
This commit is contained in:
parent
eb5c6a7010
commit
7f814ae3be
1 changed files with 1 additions and 1 deletions
|
|
@ -271,7 +271,7 @@ CloudServer.start=function()
|
|||
CloudServer.IP;
|
||||
|
||||
/* server mode or testing mode */
|
||||
if(process.argv[2]!=='test' && CloudServer.Config.server){
|
||||
if(!process.argv[2] && CloudServer.Config.server){
|
||||
var http = require('http');
|
||||
|
||||
try{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue