Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix ignore and expandDirectories default handling #252

Conversation

aaronccasanova
Copy link
Contributor

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 👋

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants