mirror of
https://github.com/coderaiser/cloudcmd.git
synced 2026-07-19 09:24:51 +00:00
minor changes
This commit is contained in:
parent
2c74316912
commit
88754dd2b6
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