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鈥檒l 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 馃憢

@sindresorhus sindresorhus merged commit 3a48eb9 into sindresorhus:main Jul 1, 2023
9 checks passed
@aaronccasanova aaronccasanova deleted the fix-normalize-options-defaults branch July 2, 2023 01:31
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.

None yet

2 participants