Move warning to logger rather than guest
This commit is contained in:
parent
a96baad0d7
commit
b04f13657b
|
@ -119,8 +119,7 @@ module VagrantPlugins
|
||||||
end
|
end
|
||||||
|
|
||||||
if !commands.include?(@command)
|
if !commands.include?(@command)
|
||||||
# does this make sense to print on this machine?
|
@logger.warn(I18n.t("vagrant.config.triggers.bad_command_warning",
|
||||||
machine.ui.warn(I18n.t("vagrant.config.triggers.bad_command_warning",
|
|
||||||
cmd: @command))
|
cmd: @command))
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue