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:
-rw-r--r--lib/install/action/move.js3
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/install/action/move.js b/lib/install/action/move.js
index a3b50a6f1..b0e024b4c 100644
--- a/lib/install/action/move.js
+++ b/lib/install/action/move.js
@@ -25,8 +25,7 @@ module.exports = function (staging, pkg, log, next) {
[lifecycle, pkg.package, 'postuninstall', pkg.fromPath, { failOk: true }],
[moveModuleOnly, pkg.fromPath, pkg.path, log],
[lifecycle, pkg.package, 'preinstall', pkg.path, { failOk: true }],
- [removeEmptyParents, path.resolve(pkg.fromPath, '..')],
- [updatePackageJson, pkg, pkg.path]
+ [removeEmptyParents, path.resolve(pkg.fromPath, '..')]
], next)
}