Merge pull request #1889 from Shopify/default-variable-lookup-string-scanner

Add default string_scanner to `Liquid::VariableLookup.parse`
This commit is contained in:
Michael Go
2025-01-13 23:28:11 -04:00
committed by GitHub
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -6,7 +6,7 @@ module Liquid
attr_reader :name, :lookups
def self.parse(markup, string_scanner, cache = nil)
def self.parse(markup, string_scanner = StringScanner.new(""), cache = nil)
new(markup, string_scanner, cache)
end
+1 -1
View File
@@ -2,5 +2,5 @@
# frozen_string_literal: true
module Liquid
VERSION = "5.6.3"
VERSION = "5.6.4"
end