Skip to content

Commit 04abde8

Browse files
committed
Fixed detection of --console in manager.
1 parent efe15bf commit 04abde8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/manager.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
var path = require( "path" ),
22
spawn = require( "child_process" ).spawn,
33
logger = require( "../lib/logger" ),
4-
consoleOption = process.argv.indexOf( "--console" ) ? "--console" : "";
4+
consoleOption = process.argv.indexOf( "--console" ) !== -1 ? "--console" : "";
55

66
logger.log( "Manager started." );
77

0 commit comments

Comments
 (0)