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

Check variant files when looking for instance variables #353

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

Conversation

iainbeeston
Copy link

I noticed there's a bug in the regex used to determine if a template is a partial, which means the partial instance variables linter was missing partials that include a variant in the filename.

@iainbeeston iainbeeston force-pushed the check-instance-vars-in-variants branch from 576d6f1 to 412174e Compare June 3, 2024 11:11
@iainbeeston iainbeeston changed the title Check variants when looking for instance variables Look for variants when looking for instance variables Jun 3, 2024
@iainbeeston iainbeeston changed the title Look for variants when looking for instance variables Check variant files when looking for instance variables Jun 3, 2024
@iainbeeston iainbeeston force-pushed the check-instance-vars-in-variants branch from 412174e to ff65731 Compare September 2, 2024 17:05
There was a bug in the regex used to determine if a template is a partial, which means it was excluding variants.
@iainbeeston iainbeeston force-pushed the check-instance-vars-in-variants branch from ff65731 to 84f273b Compare October 22, 2024 10:40
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