fast-glob
fast-glob copied to clipboard
fastGlob("?/*") fails to match
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 https://github.com/micromatch/is-glob/issues/21
which makes globParent("?/test")
return "?" instead of "."