-
Notifications
You must be signed in to change notification settings - Fork 3.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
16 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
diff --git a/node_modules/winston/lib/winston/common.js b/node_modules/winston/lib/winston/common.js | ||
index 8ed9973..ecc59f8 100644 | ||
--- a/node_modules/winston/lib/winston/common.js | ||
+++ b/node_modules/winston/lib/winston/common.js | ||
@@ -32,7 +32,10 @@ exports.setLevels = function (target, past, current, isDefault) { | ||
} | ||
|
||
target.levels = current || config.npm.levels; | ||
- if (target.padLevels) { | ||
+ // Check if `padLevels` exists to suppress a warning about accessing | ||
+ // a non-existing property on `exports`. | ||
+ // @see https://github.com/winstonjs/winston/issues/1882 | ||
+ if (target.hasOwnProperty('padLevels') && target.padLevels) { | ||
target.levelLength = exports.longestElement(Object.keys(target.levels)); | ||
} | ||
|
925fc65
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Circle has built the
linux x64
version of the Test Runner.Learn more about this pre-release platform-specific build at https://on.cypress.io/installing-cypress#Install-pre-release-version.
Run this command to install the pre-release locally:
925fc65
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
AppVeyor has built the
win32 ia32
version of the Test Runner.Learn more about this pre-release platform-specific build at https://on.cypress.io/installing-cypress#Install-pre-release-version.
Run this command to install the pre-release locally:
925fc65
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
AppVeyor has built the
win32 x64
version of the Test Runner.Learn more about this pre-release platform-specific build at https://on.cypress.io/installing-cypress#Install-pre-release-version.
Run this command to install the pre-release locally:
925fc65
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Circle has built the
darwin x64
version of the Test Runner.Learn more about this pre-release platform-specific build at https://on.cypress.io/installing-cypress#Install-pre-release-version.
Run this command to install the pre-release locally: