You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Improve filter to handle negation patterns correctly
Updated hasChildren() to be more conservative when skipping descent:
- Only skip for top-level ignored directories where children would also be ignored
- This handles complex patterns like "frontend/*" with "!/frontend/build/"
- Still provides performance benefit for common cases like node_modules and .git
- All 27 distignore test scenarios now pass
Co-authored-by: swissspidy <[email protected]>
0 commit comments