Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Revert cache clearing #181

Merged
merged 2 commits into from
Nov 1, 2016
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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.