mirror of
https://github.com/Shopify/liquid.git
synced 2026-10-03 00:55:11 -07:00
Freeze mutable object assigned to constant
This commit is contained in:
@@ -44,7 +44,7 @@ module Liquid
|
|||||||
tok[0] == type
|
tok[0] == type
|
||||||
end
|
end
|
||||||
|
|
||||||
CONSUME_TOKENS = [:string, :number]
|
CONSUME_TOKENS = [:string, :number].freeze
|
||||||
private_constant :CONSUME_TOKENS
|
private_constant :CONSUME_TOKENS
|
||||||
|
|
||||||
def expression
|
def expression
|
||||||
|
|||||||
Reference in New Issue
Block a user