mirror of
https://github.com/coderaiser/cloudcmd.git
synced 2026-07-18 17:05:17 +00:00
minor changes
This commit is contained in:
parent
01cc73188f
commit
aead1c7b82
1 changed files with 1 additions and 1 deletions
|
|
@ -34,7 +34,7 @@ function readConfig(){
|
|||
* not created, just init and
|
||||
* all logs writed to screen
|
||||
*/
|
||||
if (process.argv[process.argv] === 'test') {
|
||||
if (process.argv[process.argv.length - 1] === 'test') {
|
||||
console.log(process.argv);
|
||||
lConfig.server = false;
|
||||
lConfig.logs = false;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue