You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
ignore option is not working with relative path #570
ignore using a relative path is not working as expected with the cwd option.
For context, this is used in this repo. When attempting to update from 8 to 10, the tests are failing because of this issue.
To reproduce, in node-glob/test/ignore.ts, you can add the following test case:
Specifically, this is an issue with an ignore pattern that starts with ./. Relative patterns starting with ../ or some other string or pattern work fine.
Activity
workaround glob bug (#21)
workaround for isaacs/node-glob#570
build(deps): bump glob from 8.0.3 to 10.3.10 (#1166)
isaacs commentedon Mar 28, 2024
Specifically, this is an issue with an ignore pattern that starts with
./. Relative patterns starting with../or some other string or pattern work fine.strip leading ./ from ignore patterns