From 9bf60f26b45577de80e5ba7652f52e9238640795 Mon Sep 17 00:00:00 2001 From: Doron Pearl Date: Thu, 23 Feb 2017 17:40:54 +0200 Subject: [PATCH] fix: ReferenceError: loglevel is not defined --- detox/src/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/detox/src/index.js b/detox/src/index.js index 80a09c9c21..1f2062fa1b 100644 --- a/detox/src/index.js +++ b/detox/src/index.js @@ -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;