Closed charlespwd closed 2 years ago
Unit test passes. Don't know what was up. Must have been something else.
This fails when the assigns is within a conditional:
{% assign checked = false %}
{% if option.selected_value == value %}
{% assign checked = true %} <!--here it fails -->
{% endif %}
{% render 'swatch-input', checked: checked %}
This shouldn't trigger an UnusedAssign: