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