diff --git a/lib/bunyan.js b/lib/bunyan.js index cb7c298..9e93d76 100644 --- a/lib/bunyan.js +++ b/lib/bunyan.js @@ -233,7 +233,7 @@ function resolveLevel(nameOrNum) { */ function Logger(options, _childOptions, _childSimple) { xxx('Logger start:', options) - if (! this instanceof Logger) { + if (!(this instanceof Logger)) { return new Logger(options, _childOptions); }