mirror of
https://github.com/hashicorp/vagrant.git
synced 2026-06-08 16:26:25 -04:00
Freeze base mappers list to prevent direct modifications
This commit is contained in:
parent
2f9daa8498
commit
823e589a26
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Reference in a new issue