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

fix(globMatch): support implicit globs #200

Merged
merged 1 commit into from
Oct 10, 2024
Merged

Conversation

dominikg
Copy link
Owner

@dominikg dominikg commented Oct 9, 2024

fixes #199

Also includes a minor perf improvement to not use regex for patterns that only have a single glob-all in them, in that case it is sufficient to ensure equality of static prefix and suffix. This helps with this fix a the implicitly added glob is one of these cases.

@dominikg
Copy link
Owner Author

dominikg commented Oct 9, 2024

@sapphi-red, could you check if this is sound?

Copy link

@sapphi-red sapphi-red left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 👍

@dominikg dominikg merged commit 93b9be7 into main Oct 10, 2024
7 checks passed
@dominikg dominikg deleted the fix/include-no-glob-dir branch October 10, 2024 03:57
@github-actions github-actions bot mentioned this pull request Oct 10, 2024
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.

Specifying directory works differently with TypeScript
2 participants