Open
Description
Just running this code:
const paths = await globby(
'../src/*.ts',
{
dot: true,
onlyFiles: false,
gitignore: true,
cwd: __dirname,
absolute: true,
},
)
Then you will get an error:
Path *** is not in cwd ***
But if you set gitignore
to false
, all works well.
After a bit of investigation, most likely it is caused by this PR: #120