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
path: root/lib
diff options
context:
space:
mode:
authorKat Marchán <kzm@sykosomatic.org>2017-05-10 19:52:06 +0300
committerRebecca Turner <me@re-becca.org>2017-05-26 04:55:11 +0300
commitef026e953621f1bade0347f71ce42d323c19ea09 (patch)
tree5b72c439275ccb0d58e301d163f785d351a241bb /lib
parent950ed58cca69a525f2cb4ce5db9a49967a526b7e (diff)
meta: standard fixes
Diffstat (limited to 'lib')
-rw-r--r--lib/install/action/refresh-package-json.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/install/action/refresh-package-json.js b/lib/install/action/refresh-package-json.js
index 8ef77653f..0bc19a07e 100644
--- a/lib/install/action/refresh-package-json.js
+++ b/lib/install/action/refresh-package-json.js
@@ -10,7 +10,7 @@ module.exports = function (staging, pkg, log) {
return readJson(path.join(pkg.path, 'package.json'), false).then((metadata) => {
Object.keys(pkg.package).forEach(function (key) {
- if (key != '_injectedFromShrinkwrap' && !isEmpty(pkg.package[key])) {
+ if (key !== '_injectedFromShrinkwrap' && !isEmpty(pkg.package[key])) {
metadata[key] = pkg.package[key]
}
})