lib/theme_check/checks/unused_assign.rb in theme-check-0.4.0 vs lib/theme_check/checks/unused_assign.rb in theme-check-0.5.0

- old
+ new

@@ -2,9 +2,10 @@ module ThemeCheck # Checks unused {% assign x = ... %} class UnusedAssign < LiquidCheck severity :suggestion category :liquid + doc docs_url(__FILE__) class TemplateInfo < Struct.new(:used_assigns, :assign_nodes, :includes) def collect_used_assigns(templates, visited = Set.new) collected = used_assigns # Check recursively inside included snippets for use