mirror of
https://github.com/Shopify/liquid.git
synced 2026-09-19 19:00:39 -07:00
Apply simple rubocop fixes
This commit is contained in:
@@ -21,10 +21,10 @@ module Liquid
|
||||
|
||||
def message_prefix
|
||||
str = ""
|
||||
if is_a?(SyntaxError)
|
||||
str << "Liquid syntax error"
|
||||
str << if is_a?(SyntaxError)
|
||||
"Liquid syntax error"
|
||||
else
|
||||
str << "Liquid error"
|
||||
"Liquid error"
|
||||
end
|
||||
|
||||
if line_number
|
||||
|
||||
Reference in New Issue
Block a user