Comparing version 0.0.3 to 0.0.4
@@ -12,6 +12,8 @@ var path = require('path'); | ||
else mkdirP(ps.slice(0,-1).join('/'), mode, function (err) { | ||
if (err && err.errno != process.EEXIST) cb(err) | ||
else fs.mkdir(p, mode, cb); | ||
if (err && err.code !== 'EEXIST') cb(err) | ||
else fs.mkdir(p, mode, function (err) { | ||
if (err && err.code !== 'EEXIST') cb(err); | ||
}); | ||
}); | ||
}); | ||
}; |
{ | ||
"name" : "mkdirp", | ||
"description" : "Recursively mkdir, like `mkdir -p`", | ||
"version" : "0.0.3", | ||
"version" : "0.0.4", | ||
"author" : "James Halliday <mail@substack.net> (http://substack.net)", | ||
@@ -6,0 +6,0 @@ "main" : "./index", |
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
4631
7
73
3