node_modules/resolve/test/mock_sync.js in immosquare-cleaner-0.1.44 vs node_modules/resolve/test/mock_sync.js in immosquare-cleaner-0.1.45
- old
+ new
@@ -8,9 +8,10 @@
var files = {};
files[path.resolve('/foo/bar/baz.js')] = 'beep';
var dirs = {};
dirs[path.resolve('/foo/bar')] = true;
+ dirs[path.resolve('/foo/node_modules')] = true;
function opts(basedir) {
return {
basedir: path.resolve(basedir),
isFile: function (file) {