Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
DABH committed Jan 3, 2024
1 parent 04ee467 commit 00286a7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/winston/logger.js
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ class Logger extends Transform {
);
}

if (!Object.keys(this.levels).includes(this.level)){
if (!Object.keys(this.levels).includes(this.level)) {
const message = [
'[winston] Log level <${this.level}> is not defined in levels definition.',
'Please double check the setup of your transports and/or custom log levels.',
Expand Down

0 comments on commit 00286a7

Please sign in to comment.