lib/theme_check/checks/valid_json.rb in theme-check-1.6.1 vs lib/theme_check/checks/valid_json.rb in theme-check-1.6.2
- old
+ new
@@ -6,10 +6,10 @@
doc docs_url(__FILE__)
def on_file(file)
if file.parse_error
message = format_json_parse_error(file.parse_error)
- add_offense(message, template: file)
+ add_offense(message, theme_file: file)
end
end
end
end