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