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
commit cd9971579f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 2 additions and 2 deletions

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

View File

@ -2,5 +2,5 @@
# frozen_string_literal: true
module Liquid
VERSION = "5.6.3"
VERSION = "5.6.4"
end