Correction for directory exclusion
This commit is contained in:
parent
754f6bb9c4
commit
6b72860050
|
@ -205,7 +205,7 @@
|
|||
var err
|
||||
, files
|
||||
, me = this
|
||||
;
|
||||
;f
|
||||
|
||||
try {
|
||||
files = fs.readdirSync(me._wcurpath);
|
||||
|
@ -237,7 +237,7 @@
|
|||
while (me._wq.length && me._wFilter()) {
|
||||
me._wcurpath = me._wq.pop();
|
||||
}
|
||||
if (me._wcurpath) {
|
||||
if (me._wcurpath && !me._wFilter()) {
|
||||
me._wWalk();
|
||||
} else {
|
||||
me._wNext();
|
||||
|
|
Loading…
Reference in New Issue