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/install.js')
-rw-r--r--lib/install.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/install.js b/lib/install.js
index aca087db2..39d926721 100644
--- a/lib/install.js
+++ b/lib/install.js
@@ -982,7 +982,7 @@ function write (target, targetFolder, context, cb_) {
if (!er) return cb_(er, data)
if (false === npm.config.get("rollback")) return cb_(er)
- npm.commands.unbuild([targetFolder], function (er2) {
+ npm.commands.unbuild([targetFolder], true, function (er2) {
if (er2) log.error("error rolling back", target._id, er2)
return cb_(er, data)
})