diff options
author | Kat Marchán <kzm@sykosomatic.org> | 2017-05-10 19:52:06 +0300 |
---|---|---|
committer | Rebecca Turner <me@re-becca.org> | 2017-05-26 04:55:11 +0300 |
commit | ef026e953621f1bade0347f71ce42d323c19ea09 (patch) | |
tree | 5b72c439275ccb0d58e301d163f785d351a241bb /lib | |
parent | 950ed58cca69a525f2cb4ce5db9a49967a526b7e (diff) |
meta: standard fixes
Diffstat (limited to 'lib')
-rw-r--r-- | lib/install/action/refresh-package-json.js | 2 |
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] } }) |