Skip to content

Commit

Permalink
Silence node.js 14 non-existent property warning (#1800)
Browse files Browse the repository at this point in the history
This fixes #1797 issue
  • Loading branch information
rysenko authored Jun 22, 2020
1 parent 542f2b9 commit 1db00d8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/winston.js
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,7 @@ var methods = [
'unhandleExceptions',
'configure'
];
winston.padLevels = false;
common.setLevels(winston, null, defaultLogger.levels);
methods.forEach(function (method) {
winston[method] = function () {
Expand Down

0 comments on commit 1db00d8

Please sign in to comment.