Open felix9 opened 1 year ago
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 "."
globParent("?/test")
https://github.com/gulpjs/glob-parent/issues/60 https://github.com/gulpjs/glob-parent/issues/39
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 "."