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

UnusedSnippet selecting snippets that are being used #756

Open
saiichihashimoto opened this issue Feb 8, 2024 · 0 comments
Open

UnusedSnippet selecting snippets that are being used #756

saiichihashimoto opened this issue Feb 8, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@saiichihashimoto
Copy link

Describe the bug
We had UnusedSnippet on with autofix and files that were actually being used were being deleted. We could turn off autofix, but it would then still have false positives and report an error. They use the {% render 'snippet' %} syntax.

Expected
UnusedSnippet should not report on snippets that are actually used.

Actual
UnusedSnippet does report on snippets that are used.

Debugging information

  • Mac Apple M2, but also in Github Actions
  • Version: 1.15.0
@saiichihashimoto saiichihashimoto added the bug Something isn't working label Feb 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant