Store correct command for trigger
This commit is contained in:
parent
e0a5b1d647
commit
c10ae070b6
|
@ -66,7 +66,7 @@ module VagrantPlugins
|
|||
# @param [Symbol] command Vagrant command to create trigger on
|
||||
# @param [Block] block The defined config block
|
||||
def create_trigger(command, block)
|
||||
trigger = VagrantConfigTrigger.new(cmd)
|
||||
trigger = VagrantConfigTrigger.new(command)
|
||||
if block.is_a?(Hash)
|
||||
trigger.set_options(block)
|
||||
else
|
||||
|
|
Loading…
Reference in New Issue