diff --git a/lib/bunyan.js b/lib/bunyan.js index 9e93d76..ea4d02f 100644 --- a/lib/bunyan.js +++ b/lib/bunyan.js @@ -242,7 +242,7 @@ function Logger(options, _childOptions, _childSimple) { if (_childOptions !== undefined) { parent = options; options = _childOptions; - if (! parent instanceof Logger) { + if (!(parent instanceof Logger)) { throw new TypeError( 'invalid Logger creation: do not pass a second arg'); }