Skip to content

Commit

Permalink
Use equality operator instead of assignment
Browse files Browse the repository at this point in the history
Fixes issue garden-aid#6
  • Loading branch information
singlow authored Jan 10, 2017
1 parent 15d28ec commit 1e0c492
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/logger.js
Original file line number Diff line number Diff line change
@@ -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({
Expand Down

0 comments on commit 1e0c492

Please sign in to comment.