Skip to content

Commit 3e22cf0

Browse files
committed
Do not iterate over childrenIgnored paths
Fix: #552
1 parent ed22c06 commit 3e22cf0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/ignore.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ export class Ignore implements IgnoreLike {
107107
if (m.match(relative)) return true
108108
}
109109
for (const m of this.absoluteChildren) {
110-
if (m.match(fullpath)) true
110+
if (m.match(fullpath)) return true
111111
}
112112
return false
113113
}

0 commit comments

Comments
 (0)