Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: exclude files pattern #13

Merged
merged 5 commits into from
Jan 15, 2024
Merged

Conversation

bawahakim
Copy link
Contributor

@bawahakim bawahakim commented Jan 13, 2024

@hyiso couldn't really figure out how to exclude files. Seems glob are inclusive, and in the code, it specifically removes files that are already matched (leaving it no chance to exclude files).

This uses a custom pattern where we can add a ! before the pattern to exclude a pattern.

Should fix #2

@hyiso
Copy link
Owner

hyiso commented Jan 13, 2024

Thanks for the contributing!

Add some integration tests for this will be more helpful

@bawahakim
Copy link
Contributor Author

Done. Had to fix the failing tests in windows as well.

@hyiso hyiso merged commit 6345d18 into hyiso:main Jan 15, 2024
1 check passed
@hyiso
Copy link
Owner

hyiso commented Jan 15, 2024

0.5.0 is published

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Option to exclude files
2 participants