Skip to content

Commit

Permalink
fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
debadutta98 committed Oct 31, 2022
1 parent fae7aa8 commit 2ff0628
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/winston/profiler.js
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 2ff0628

Please sign in to comment.