-
Notifications
You must be signed in to change notification settings - Fork 101
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
An entry that should be included is ignored #138
Comments
Thanks for issue. I will look into it soon. |
One thing I just noticed. If I change the ignore pattern to but both versions work with |
The previous comment is incorrect. The
And… /^(?:(?:\.[\\\/](?=.))?(?:(?!\.)(?:(?!(?:[\\\/]|^)\.).)*?[\\\/])?foo[\\\/]?(?!\.)(?:(?!(?:[\\\/]|^)\.).)*?[\\\/]package\.json(?:[\\\/]|$))$/.test('packages/foo-foo/package.json')
true |
I'll take a look at the problem in the |
This was referenced Jun 6, 2021
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Environment
Actual behavior
An entry is ignored even though it should not be matched by any ignore patterns
Expected behavior
'packages/foo-foo/package.json'
is not ignored by the ignore pattern:!**/foo/**/package.json
Code sample
You can clone this repo and run
npm install && node index.js
The text was updated successfully, but these errors were encountered: