Skip to content

Use global excludes option when walking.#135

Open
andrewnicols wants to merge 1 commit intoyui:masterfrom
andrewnicols:walkExcludes
Open

Use global excludes option when walking.#135
andrewnicols wants to merge 1 commit intoyui:masterfrom
andrewnicols:walkExcludes

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