Browse Source

deps, tools: remove stray reject files

v0.8.7-release
Ben Noordhuis 13 years ago
parent
commit
de16da532e
  1. 2
      deps/npm/node_modules/mkdirp/.gitignore.orig
  2. 5
      deps/npm/node_modules/mkdirp/.gitignore.rej
  3. 6
      deps/npm/node_modules/mkdirp/examples/pow.js.orig
  4. 19
      deps/npm/node_modules/mkdirp/examples/pow.js.rej
  5. 2
      tools/blog/node_modules/mkdirp/.gitignore.orig
  6. 5
      tools/blog/node_modules/mkdirp/.gitignore.rej
  7. 6
      tools/blog/node_modules/mkdirp/examples/pow.js.orig
  8. 19
      tools/blog/node_modules/mkdirp/examples/pow.js.rej

2
deps/npm/node_modules/mkdirp/.gitignore.orig

@ -1,2 +0,0 @@
node_modules/
npm-debug.log

5
deps/npm/node_modules/mkdirp/.gitignore.rej

@ -1,5 +0,0 @@
--- /dev/null
+++ .gitignore
@@ -0,0 +1,2 @@
+node_modules/
+npm-debug.log

6
deps/npm/node_modules/mkdirp/examples/pow.js.orig

@ -1,6 +0,0 @@
var mkdirp = require('mkdirp');
mkdirp('/tmp/foo/bar/baz', 0755, function (err) {
if (err) console.error(err)
else console.log('pow!')
});

19
deps/npm/node_modules/mkdirp/examples/pow.js.rej

@ -1,19 +0,0 @@
--- 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);
+}

2
tools/blog/node_modules/mkdirp/.gitignore.orig

@ -1,2 +0,0 @@
node_modules/
npm-debug.log

5
tools/blog/node_modules/mkdirp/.gitignore.rej

@ -1,5 +0,0 @@
--- /dev/null
+++ .gitignore
@@ -0,0 +1,2 @@
+node_modules/
+npm-debug.log

6
tools/blog/node_modules/mkdirp/examples/pow.js.orig

@ -1,6 +0,0 @@
var mkdirp = require('mkdirp');
mkdirp('/tmp/foo/bar/baz', 0755, function (err) {
if (err) console.error(err)
else console.log('pow!')
});

19
tools/blog/node_modules/mkdirp/examples/pow.js.rej

@ -1,19 +0,0 @@
--- 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);
+}
Loading…
Cancel
Save