diff --git a/lib/winston/profiler.js b/lib/winston/profiler.js index 6533f6e9c..2a86c2e46 100644 --- a/lib/winston/profiler.js +++ b/lib/winston/profiler.js @@ -25,7 +25,7 @@ module.exports = class Profiler { throw new Error('Logger is required for profiling.'); } - if (logger instanceof Logger.constructor){ + if (logger instanceof Logger.constructor) { this.logger = logger; this.start = Date.now(); } else {