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