Merge pull request #88 from wix/fix-undefined-var

fix: ReferenceError: loglevel is not defined
This commit is contained in:
Rotem Mizrachi-Meidan
2017-02-23 17:59:24 +02:00
committed by GitHub
+1 -1
View File
@@ -6,7 +6,7 @@ const argparse = require('./utils/argparse');
const InvocationManager = require('./invoke').InvocationManager;
const configuration = require('./configuration');
log.level = loglevel = argparse.getArgValue('loglevel') || 'info';
log.level = argparse.getArgValue('loglevel') || 'info';
log.heading = 'detox';
let websocket;