Skip to content

Commit

Permalink
Merge pull request #181 from tschaub/revert
Browse files Browse the repository at this point in the history
Revert cache clearing
  • Loading branch information
tschaub authored Nov 1, 2016
2 parents a5c87d9 + 69b5685 commit 536070f
Show file tree
Hide file tree
Showing 5 changed files with 0 additions and 54 deletions.
10 changes: 0 additions & 10 deletions lib/index.js
Original file line number Diff line number Diff line change
@@ -1,15 +1,5 @@
'use strict';

/**
* Clear the require cache so that other modules that patch fs get evaulated
* again after this one.
*/
Object.keys(require.cache).forEach(function(key) {
if (key.indexOf(__dirname) === -1) {
delete require.cache[key];
}
});

var realFs = require('fs');
var path = require('path');

Expand Down
1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,6 @@
"chai": "3.5.0",
"eslint": "2.13.0",
"eslint-config-tschaub": "6.0.0",
"fs-extra": "^0.30.0",
"mocha": "3.1.2",
"rimraf": "2.5.4"
},
Expand Down
15 changes: 0 additions & 15 deletions test/integration/A.spec.js

This file was deleted.

28 changes: 0 additions & 28 deletions test/integration/B.spec.js

This file was deleted.

File renamed without changes.

0 comments on commit 536070f

Please sign in to comment.