We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
../
ignore: ["**/*"]
reproduction: https://stackblitz.com/github/hi-ogawa/reproductions/tree/main/tinyglobby-dot-dot-ignore?file=repro.mjs potentially related: vitest-dev/vitest#6600 (however this behavior seems same for v0.2.6, so not sure)
When using a combination of leading ../ pattern and ignore, it requires .. on ignore side pattern as well. For example:
ignore
..
glob(["../b/**/*.txt"], { ignore: [ // [not ok] "**/ignore/**", // [ok] "../**/ignore/**" ], })
I compared it with fast-glob and it actually works same, so I'm not sure what's the best behavior though.
The text was updated successfully, but these errors were encountered:
isDynamicPattern
does glob have the same behavior too? if not it might be a fast-glob bug
glob
fast-glob
Sorry, something went wrong.
by the way this can be worked around by doing ignore: ['*(../)**/*']
ignore: ['*(../)**/*']
tinyglobby version 0.2.12 behaves the same way
tinyglobby
No branches or pull requests
reproduction: https://stackblitz.com/github/hi-ogawa/reproductions/tree/main/tinyglobby-dot-dot-ignore?file=repro.mjs
potentially related: vitest-dev/vitest#6600 (however this behavior seems same for v0.2.6, so not sure)
When using a combination of leading
../
pattern andignore
, it requires..
on ignore side pattern as well. For example:I compared it with fast-glob and it actually works same, so I'm not sure what's the best behavior though.
The text was updated successfully, but these errors were encountered: