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

fastGlob("?/*") fails to match #380

Open
felix9 opened this issue Feb 18, 2023 · 1 comment
Open

fastGlob("?/*") fails to match #380

felix9 opened this issue Feb 18, 2023 · 1 comment

Comments

@felix9
Copy link

felix9 commented Feb 18, 2023

mkdir a
touch a/test
node -p 'require("fast-glob").sync("?/test")'
# prints []
node -p 'require("fast-glob").sync("{?,?}/test")'
# prints [ 'a/test' ]

This seems to be caused by a bug in is-glob micromatch/is-glob#21
which makes globParent("?/test") return "?" instead of "."

@mrmlnc
Copy link
Owner

mrmlnc commented Apr 19, 2023

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants