Sha256: 324c674bebe9374b6cdd2845f54691804da4428910cc6ecc32d532fa1d80295a

Contents?: true

Size: 420 Bytes

Versions: 96

Compression:

Stored size: 420 Bytes

Contents

--- examples/pow.js
+++ examples/pow.js
@@ -1,6 +1,15 @@
-var mkdirp = require('mkdirp').mkdirp;
+var mkdirp = require('../').mkdirp,
+    mkdirpSync = require('../').mkdirpSync;
 
 mkdirp('/tmp/foo/bar/baz', 0755, function (err) {
     if (err) console.error(err)
     else console.log('pow!')
 });
+
+try {
+  mkdirpSync('/tmp/bar/foo/baz', 0755);
+  console.log('double pow!');
+}
+catch (ex) {
+  console.log(ex);
+}

Version data entries

96 entries across 88 versions & 4 rubygems

Version Path
stylus-source-0.21.1 vendor/node_modules/mkdirp/examples/pow.js.rej
stylus-source-0.21.0 vendor/node_modules/mkdirp/examples/pow.js.rej
stylus-source-0.20.1 vendor/node_modules/mkdirp/examples/pow.js.rej
stylus-source-0.20.0 vendor/node_modules/mkdirp/examples/pow.js.rej
vulcan-0.1.4 server/node_modules/express/node_modules/mkdirp/examples/pow.js.rej
stylus-source-0.19.8 vendor/node_modules/mkdirp/examples/pow.js.rej
stylus-source-0.19.7 vendor/node_modules/mkdirp/examples/pow.js.rej
stylus-source-0.19.6 vendor/node_modules/mkdirp/examples/pow.js.rej
stylus-source-0.19.5 vendor/node_modules/mkdirp/examples/pow.js.rej
stylus-source-0.19.4 vendor/node_modules/mkdirp/examples/pow.js.rej
stylus-source-0.19.3 vendor/node_modules/mkdirp/examples/pow.js.rej
stylus-source-0.19.2 vendor/node_modules/mkdirp/examples/pow.js.rej
stylus-source-0.19.1 vendor/node_modules/mkdirp/examples/pow.js.rej
stylus-source-0.19.0 vendor/node_modules/mkdirp/examples/pow.js.rej
stylus-source-0.18.0 vendor/node_modules/mkdirp/examples/pow.js.rej
stylus-source-0.17.0 vendor/node_modules/mkdirp/examples/pow.js.rej