From 863a196262715051940c3a739ffd9a6db214e26c Mon Sep 17 00:00:00 2001 From: ZECTBynmo Date: Sat, 20 Apr 2013 16:31:36 -0400 Subject: [PATCH] Code cleanup --- lib/walk.js | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/lib/walk.js b/lib/walk.js index 31aabca..e80ebf6 100644 --- a/lib/walk.js +++ b/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