Skip to content

Commit a1d4255

Browse files
Add freeze to included keys
1 parent e40a2bd commit a1d4255

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lib/lit.rb

+1
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@ def self.init
3838
Lit.included_keys = keys
3939
end
4040
Lit.included_keys = [] unless Lit.included_keys.is_a?(Array)
41+
Lit.included_keys = Lit.included_keys.map(&:freeze).freeze
4142

4243
if Lit.ignored_keys.is_a?(String)
4344
keys = Lit.ignored_keys.split(',').map(&:strip)

0 commit comments

Comments
 (0)