Comparing version 2.2.5 to 2.2.6
{ | ||
"name": "rimraf", | ||
"version": "2.2.5", | ||
"version": "2.2.6", | ||
"main": "rimraf.js", | ||
@@ -5,0 +5,0 @@ "description": "A deep deletion module for node (like `rm -rf`)", |
@@ -113,3 +113,3 @@ module.exports = rimraf | ||
fs.rmdir(p, function (er) { | ||
if (er && (er.code === "ENOTEMPTY" || er.code === "EEXIST")) | ||
if (er && (er.code === "ENOTEMPTY" || er.code === "EEXIST" || er.code === "EPERM")) | ||
rmkids(p, cb) | ||
@@ -169,3 +169,3 @@ else if (er && er.code === "ENOTDIR") | ||
throw originalEr | ||
if (er.code === "ENOTEMPTY" || er.code === "EEXIST") | ||
if (er.code === "ENOTEMPTY" || er.code === "EEXIST" || er.code === "EPERM") | ||
rmkidsSync(p) | ||
@@ -172,0 +172,0 @@ } |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
8640