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

Use global excludes option when walking. #135

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

andrewnicols
Copy link
Contributor

The excludes option only makes sense at the walk level, so needs to be
separate to the child options, but it also must be respected within walk.js
therefore I have passed it as an additional argument into walk/run()

This has come up as we are in the process of migrating from shifter to
grunt-based tools and during the transition we need to ensure that running
shifter will not cause the node_modules directory to be built too.

The excludes option only makes sense at the walk level, so needs to be
separate to the child options, but it also must be respected within walk.js
therefore I have passed it as an additional argument into walk/run()

This has come up as we are in the process of migrating from shifter to
grunt-based tools and during the transition we need to ensure that running
shifter will not cause the node_modules directory to be built too.
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.

1 participant