code styling

This commit is contained in:
Michael Go
2025-01-07 14:32:46 -04:00
parent 0a17c15289
commit e9f86724f6
+1 -3
View File
@@ -89,9 +89,7 @@ module Liquid
# Cache only exists during parsing
if cache
return cache[markup] if cache.key?(markup)
cache[markup] = inner_parse(markup, ss, cache).freeze
cache.fetch(markup) { inner_parse(markup, ss, cache).freeze }
else
inner_parse(markup, ss, nil).freeze
end