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

Simplify task expansion #215

Merged
merged 3 commits into from Jan 19, 2022
Merged

Conversation

fisker
Copy link
Collaborator

@fisker fisker commented Jan 18, 2022

  • Merge expand pattern and expand ignore into one step
  • Skip expand when options.expandDirectories is false, we calling Array#map() unnecessarily before

@fisker fisker marked this pull request as ready for review January 19, 2022 02:43
@fisker
Copy link
Collaborator Author

fisker commented Jan 19, 2022

There's another thing to do after this. We are normalizing expandDirectories repeatedly.

@fisker fisker changed the title Simplify expandDirectories Simplify task expansion Jan 19, 2022
@sindresorhus sindresorhus merged commit 128772a into sindresorhus:main Jan 19, 2022
@fisker fisker deleted the expand-tasks branch January 19, 2022 04:34
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