sindresorhus / globby

User-friendly glob matching
MIT License
2.49k stars 126 forks source link

`Options.fs` is bypassed in some places and `node:fs` APIs are invoked directly, leading to incorrect behavior #265

Open DavidAnson opened 3 months ago

DavidAnson commented 3 months ago

As a result, callers passing a custom fs implementation (to fast-glob) get incorrect behavior due to the wrong file system APIs being invoked by globby.

Examples:

DavidAnson commented 3 months ago

Related (subsets): #189 #236