From 1e0c4920940e6b1f4168368fbfbc7b4c7e50afe2 Mon Sep 17 00:00:00 2001 From: Jacob Williams Date: Tue, 10 Jan 2017 00:56:50 -0600 Subject: [PATCH] Use equality operator instead of assignment Fixes issue #6 --- src/logger.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/logger.js b/src/logger.js index 69e834f..32383e6 100644 --- a/src/logger.js +++ b/src/logger.js @@ -1,7 +1,7 @@ const stampit = require('stampit'); -const isTest = process.env.NODE_ENV = 'test'; +const isTest = process.env.NODE_ENV === 'test'; const noOp = () => {}; const Logger = stampit({