Comparing version 0.5.5 to 0.5.6
@@ -24,3 +24,3 @@ var path = require('path'); | ||
var cb = f || function () {}; | ||
var cb = f || /* istanbul ignore next */ function () {}; | ||
p = path.resolve(p); | ||
@@ -35,4 +35,6 @@ | ||
case 'ENOENT': | ||
/* istanbul ignore if */ | ||
if (path.dirname(p) === p) return cb(er); | ||
mkdirP(path.dirname(p), opts, function (er, made) { | ||
/* istanbul ignore if */ | ||
if (er) cb(er, made); | ||
@@ -92,5 +94,6 @@ else mkdirP(p, opts, cb, made); | ||
} | ||
catch (err1) { | ||
catch (err1) /* istanbul ignore next */ { | ||
throw err0; | ||
} | ||
/* istanbul ignore if */ | ||
if (!stat.isDirectory()) throw err0; | ||
@@ -97,0 +100,0 @@ break; |
{ | ||
"name": "mkdirp", | ||
"description": "Recursively mkdir, like `mkdir -p`", | ||
"version": "0.5.5", | ||
"version": "0.5.6", | ||
"publishConfig": { | ||
@@ -22,7 +22,6 @@ "tag": "legacy" | ||
"dependencies": { | ||
"minimist": "^1.2.5" | ||
"minimist": "^1.2.6" | ||
}, | ||
"devDependencies": { | ||
"mock-fs": "^3.7.0", | ||
"tap": "^5.4.2" | ||
"tap": "^16.0.1" | ||
}, | ||
@@ -29,0 +28,0 @@ "bin": "bin/cmd.js", |
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
7688
1
115
Updatedminimist@^1.2.6