Shopify / theme-check

The Ultimate Shopify Theme Linter
Other
333 stars 96 forks source link

UnusedSnippet selecting snippets that are being used #756

Open saiichihashimoto opened 4 months ago

saiichihashimoto commented 4 months ago

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