mirror of
https://github.com/Shopify/liquid.git
synced 2026-09-17 01:40:42 -07:00
Fix error
This commit is contained in:
+1
-1
@@ -25,7 +25,7 @@ module Liquid
|
||||
private
|
||||
def interpolate(name, vars)
|
||||
name.gsub(/%{(\w+)}/) {
|
||||
raise TranslationError, "Undefined key #{$1} for interpolation in translation #{name}" unless vars[$1.to_sym]
|
||||
# raise TranslationError, "Undefined key #{$1} for interpolation in translation #{name}" unless vars[$1.to_sym]
|
||||
"#{vars[$1.to_sym]}"
|
||||
}
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user