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

Limit the directories searched through for directory named modules #9079

Merged
merged 5 commits into from
Aug 28, 2023
Merged

Limit the directories searched through for directory named modules #9079

merged 5 commits into from
Aug 28, 2023

Conversation

bnn1
Copy link
Contributor

@bnn1 bnn1 commented Aug 28, 2023

duplicate of this PR: #8763

previous pr got closed due to branch rename, sorry

This PR limits the directories that RW searches through when running generators.
It is meant to fix an issue where RW tries to scan directories with restricted permissions, resulting in generation failure.

the pr also adds documentation to functions related to finding directory named modules and comments out a function that is exported but is not used anywhere in the project.

addresses #7761

@dac09 dac09 added the release:fix This PR is a fix label Aug 28, 2023
@dac09 dac09 added this to the next-release-patch milestone Aug 28, 2023
@dac09
Copy link
Collaborator

dac09 commented Aug 28, 2023

Thanks for this @bnn1 - just a small comment, then we can merge. Please ping if it falls of our radar :)

@dac09 dac09 enabled auto-merge (squash) August 28, 2023 09:21
@dac09 dac09 merged commit a27cd82 into redwoodjs:main Aug 28, 2023
29 checks passed
@jtoar jtoar modified the milestones: next-release-patch, v6.1.1 Sep 2, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
release:fix This PR is a fix
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants