Comparing version 2.4.0 to 2.4.1
15
bin.js
@@ -21,3 +21,3 @@ #!/usr/bin/env node | ||
var log = help ? console.log : console.error | ||
log('Usage: rimraf <path>') | ||
log('Usage: rimraf <path> [<path> ...]') | ||
log('') | ||
@@ -30,6 +30,13 @@ log(' Deletes all files and folders at "path" recursively.') | ||
process.exit(help ? 0 : 1) | ||
} else { | ||
args.forEach(function(arg) { | ||
rimraf.sync(arg) | ||
} else | ||
go(0) | ||
function go (n) { | ||
if (n >= args.length) | ||
return | ||
rimraf(args[n], function (er) { | ||
if (er) | ||
throw er | ||
go(n+1) | ||
}) | ||
} |
{ | ||
"name": "rimraf", | ||
"version": "2.4.0", | ||
"version": "2.4.1", | ||
"main": "rimraf.js", | ||
@@ -5,0 +5,0 @@ "description": "A deep deletion module for node (like `rm -rf`)", |
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
11361
324