Freeze base mappers list to prevent direct modifications
This commit is contained in:
parent
2f9daa8498
commit
823e589a26
@ -87,7 +87,7 @@ module VagrantPlugins
|
||||
|
||||
class << self
|
||||
def mappers
|
||||
@mappers ||= Mapper.registered.map(&:new)
|
||||
@mappers ||= Mapper.registered.map(&:new).freeze
|
||||
end
|
||||
|
||||
def cache
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user