Hey folks! I'm working on a CLI that forwards options from util.parseArgs to globby and encountered a runtime error when undefined is passed to the ignore option. While investigating the error I found that both the ignore and expandDirectories defaults are overridden when undefined is passed. I've included this same patch in my program so feel free to close this PR if the existing behavior is expected 👋
Hey folks! I'm working on a CLI that forwards options from util.parseArgs to
globby
and encountered a runtime error whenundefined
is passed to theignore
option. While investigating the error I found that both theignore
andexpandDirectories
defaults are overridden whenundefined
is passed. I've included this same patch in my program so feel free to close this PR if the existing behavior is expected 👋