Do not raise property error

This commit is contained in:
Ian Ker-Seymer
2025-04-02 22:18:09 -04:00
parent a7ad5f4282
commit 7900043ffc
2 changed files with 11 additions and 17 deletions
+1 -5
View File
@@ -992,11 +992,7 @@ module Liquid
ary = InputIterator.new(input, context)
return default_value if ary.empty?
if property.nil?
raise_property_error(property)
end
property = Liquid::Utils.to_s(property)
property = Utils.to_s(property)
block.call(ary) do |item|
if target_value.nil?