Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Code cleanup

  • Loading branch information...
commit 863a196262715051940c3a739ffd9a6db214e26c 1 parent 85e84a0
@ZECTBynmo ZECTBynmo authored
Showing with 1 addition and 4 deletions.
  1. +1 −4 lib/walk.js
View
5 lib/walk.js
@@ -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();
Please sign in to comment.
Something went wrong with that request. Please try again.