Clean up the code for provisioners
This commit is contained in:
parent
563ac35bc0
commit
45ce8b845a
|
@ -20,8 +20,7 @@ module Vagrant
|
|||
|
||||
def enabled_provisioners
|
||||
@env["config"].vm.provisioners.map do |provisioner|
|
||||
instance = provisioner.provisioner.new(@env, provisioner.config)
|
||||
instance
|
||||
provisioner.provisioner.new(@env, provisioner.config)
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue