Skip to content

Commit 82c55dc

Browse files
committed
Fix location node mathing
1 parent bc9c55a commit 82c55dc

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Node/LocationNode.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,10 +34,10 @@ public function matches(array $excludes): bool
3434

3535
foreach ($excludes as $ignored) {
3636
if (\str_starts_with(\str_replace('\\', '/', $ignored), $pathname)) {
37-
return false;
37+
return true;
3838
}
3939
}
4040

41-
return true;
41+
return false;
4242
}
4343
}

0 commit comments

Comments
 (0)