Closed RedYetiDev closed 2 weeks ago
If folks want to expose minimatch's API details to Node.js users, why is there fs.glob()
with a different API in the first place?
I also am not sure this is the ask in https://github.com/nodejs/node/issues/52779 - see https://github.com/nodejs/node/issues/52779#issuecomment-2090280411
I believe it more like to ask support for glob string or array in the exclude option.
Yes, that sounds like a better idea.
This PR adds an additional
overrides
parameter to theoptions
argument offs.glob
. This allows users to override the defaultminimatch
glob options.Fixes #52779