From 2ff0628749f76fd3362a04e5c95e184afb571168 Mon Sep 17 00:00:00 2001 From: Debadutta Panda Date: Mon, 31 Oct 2022 21:17:11 +0530 Subject: [PATCH] fix lint --- lib/winston/profiler.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 {