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:
authorRebecca Turner <me@re-becca.org>2015-08-27 02:10:03 +0300
committerRebecca Turner <me@re-becca.org>2015-08-27 02:51:14 +0300
commit1ed1364d3dee612a5c7f3b0fa7d3656c0a6b61bc (patch)
tree381422681c56f9bce0aec5f8099f1d4b50f4beae /node_modules/rimraf/rimraf.js
parente7b8315b0ffa6efd29065b71a632a905d3450fc7 (diff)
rimraf@2.4.3
Diffstat (limited to 'node_modules/rimraf/rimraf.js')
-rw-r--r--node_modules/rimraf/rimraf.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/node_modules/rimraf/rimraf.js b/node_modules/rimraf/rimraf.js
index 447705ac9..7771b530c 100644
--- a/node_modules/rimraf/rimraf.js
+++ b/node_modules/rimraf/rimraf.js
@@ -83,7 +83,7 @@ function rimraf (p, options, cb) {
results.forEach(function (p) {
rimraf_(p, options, function CB (er) {
if (er) {
- if (isWindows && (er.code === "EBUSY" || er.code === "ENOTEMPTY") &&
+ if (isWindows && (er.code === "EBUSY" || er.code === "ENOTEMPTY" || er.code === "EPERM") &&
busyTries < options.maxBusyTries) {
busyTries ++
var time = busyTries * 100