Commit 9312bb6
fix: handle glob patterns where excluded dir is first path component
Java's PathMatcher with glob:**/X/** does not match paths where X is the
first component (e.g., __pycache__/foo.py). Add fallback matchers without
the **/ prefix to handle this edge case.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>1 parent d0a6289 commit 9312bb6
1 file changed
Lines changed: 11 additions & 1 deletion
Lines changed: 11 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
43 | 43 | | |
44 | 44 | | |
45 | 45 | | |
46 | | - | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
47 | 57 | | |
48 | 58 | | |
49 | 59 | | |
| |||
0 commit comments