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

fix: Ignore special folder contents #2628

Merged
merged 5 commits into from
Nov 1, 2022
Merged

Conversation

calvincestari
Copy link
Member

@calvincestari calvincestari commented Nov 1, 2022

Fixes #2552

I tried to get this to work using the ! pattern and existing Glob logic but since ours is a little more custom it was not as cut-and-dry as I'd hoped. This solution simply looks for an intersection of enumerated directory paths and excluded directory paths to drop the path from the included search paths. There is a small chance that performance could suffer but I think it'll be negligible and I'll adapt based on feedback, at a later stage I'll add a performance test to measure this.

@netlify
Copy link

netlify bot commented Nov 1, 2022

Deploy Preview for apollo-ios-docs canceled.

Name Link
🔨 Latest commit 52f13a0
🔍 Latest deploy log https://app.netlify.com/sites/apollo-ios-docs/deploys/63606684baf69400092b8e31

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.

Ignore repo folder contents
1 participant