diff options
author | Rebecca Turner <me@re-becca.org> | 2015-08-27 02:10:03 +0300 |
---|---|---|
committer | Rebecca Turner <me@re-becca.org> | 2015-08-27 02:51:14 +0300 |
commit | 1ed1364d3dee612a5c7f3b0fa7d3656c0a6b61bc (patch) | |
tree | 381422681c56f9bce0aec5f8099f1d4b50f4beae /node_modules/rimraf/rimraf.js | |
parent | e7b8315b0ffa6efd29065b71a632a905d3450fc7 (diff) |
rimraf@2.4.3
Diffstat (limited to 'node_modules/rimraf/rimraf.js')
-rw-r--r-- | node_modules/rimraf/rimraf.js | 2 |
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 |