Store correct command for trigger

This commit is contained in:
Brian Cain 2018-03-13 11:13:25 -07:00
parent e0a5b1d647
commit c10ae070b6
No known key found for this signature in database
GPG Key ID: 43D51080D357A001
1 changed files with 1 additions and 1 deletions

View File

@ -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