Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/npm/cli.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'lib/utils/warn-deprecated.js')
-rw-r--r--lib/utils/warn-deprecated.js5
1 files changed, 2 insertions, 3 deletions
diff --git a/lib/utils/warn-deprecated.js b/lib/utils/warn-deprecated.js
index ec821b9bd..fe5c5ec82 100644
--- a/lib/utils/warn-deprecated.js
+++ b/lib/utils/warn-deprecated.js
@@ -1,6 +1,6 @@
module.exports = warnDeprecated
-var log = require("npmlog")
+var log = require('npmlog')
var deprecations = {}
@@ -11,8 +11,7 @@ function warnDeprecated (type) {
deprecations[type] = {}
messages.forEach(function (m) { log.warn(type, m) })
}
- }
- else {
+ } else {
if (!deprecations[type]) deprecations[type] = {}
if (!deprecations[type][instance]) {