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: make patterns work with top-level dependencies #56

Merged
merged 1 commit into from
Jun 15, 2024

Conversation

targos
Copy link
Contributor

@targos targos commented Jun 9, 2024

glob is executed with node_modules as cwd, so the pattern shouldn't include node_modules. This change allows to find files anywhere in the tree below the first node_modules.

`glob` is executed with `node_modules` as cwd, so the pattern shouldn't include `node_modules`.
This change allows to find files anywhere in the tree below the first `node_modules`.
@targos
Copy link
Contributor Author

targos commented Jun 13, 2024

@Trott Are you still able to maintain this package?

Copy link
Collaborator

@Trott Trott left a comment

Choose a reason for hiding this comment

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

Rubber-stamp LGTM

@Trott Trott merged commit 1d5efe5 into inikulin:master Jun 15, 2024
6 checks passed
@targos targos deleted the patch-1 branch June 16, 2024 09:53
@targos
Copy link
Contributor Author

targos commented Jun 16, 2024

Thanks!

@BridgeAR
Copy link
Contributor

@targos should we also add a test case for that?

@targos
Copy link
Contributor Author

targos commented Jun 17, 2024

Probably, but one of the existing tests doesn't pass on my mac

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.

3 participants