Code cleanup

This commit is contained in:
ZECTBynmo 2013-04-20 16:31:36 -04:00
parent 85e84a0a3f
commit 863a196262
1 changed files with 1 additions and 4 deletions

View File

@ -188,14 +188,12 @@
}
if( !shouldExclude ) {
console.log(me._wcurpath);
try {
files = fs.readdirSync(me._wcurpath);
} catch(e) {
err = e;
}
} else console.log("excluding: " + me._wcurpath)
}
me._wReaddirHandler(err, files);
};
@ -206,7 +204,6 @@
// Stop directories that contain filter keywords
// from continuing through the walk process
if (me._wfilters != undefined) {
var shouldExclude = false;
for (var iFilter=0; iFilter<me._wfilters.length; ++iFilter) {
if (me._wcurpath.indexOf(me._wfilters[iFilter]) != -1 ) {
me._wNext();