Comparing version 0.0.2 to 0.0.3
@@ -6,3 +6,3 @@ var path = require('path'); | ||
var cb = f || function () {}; | ||
if (p.charAt(0) != '/') { cb('Relative path: ' + p); return } | ||
if (p.charAt(0) != '/') { cb(new Error('Relative path: ' + p)); return } | ||
@@ -9,0 +9,0 @@ var ps = path.normalize(p).split('/'); |
{ | ||
"name" : "mkdirp", | ||
"description" : "Recursively mkdir, like `mkdir -p`", | ||
"version" : "0.0.2", | ||
"version" : "0.0.3", | ||
"author" : "James Halliday <mail@substack.net> (http://substack.net)", | ||
@@ -15,4 +15,10 @@ "main" : "./index", | ||
}, | ||
"scripts" : { | ||
"test" : "expresso" | ||
}, | ||
"devDependencies" : { | ||
"expresso" : "0.7.x" | ||
}, | ||
"license" : "MIT/X11", | ||
"engines": { "node": "*" } | ||
} |
@@ -1,6 +0,7 @@ | ||
var mkdirp = require('mkdirp').mkdirp; | ||
var assert = require('assert'); | ||
var mkdirp = require('../').mkdirp; | ||
var path = require('path'); | ||
var fs = require('fs'); | ||
exports.woo = function (assert) { | ||
exports.woo = function () { | ||
var x = Math.floor(Math.random() * Math.pow(16,4)).toString(16); | ||
@@ -7,0 +8,0 @@ var y = Math.floor(Math.random() * Math.pow(16,4)).toString(16); |
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
3602
42
1