Move warning to logger rather than guest

This commit is contained in:
Brian Cain 2018-03-14 10:08:41 -07:00
parent a96baad0d7
commit b04f13657b
No known key found for this signature in database
GPG Key ID: 43D51080D357A001
1 changed files with 1 additions and 2 deletions

View File

@ -119,8 +119,7 @@ module VagrantPlugins
end
if !commands.include?(@command)
# does this make sense to print on this machine?
machine.ui.warn(I18n.t("vagrant.config.triggers.bad_command_warning",
@logger.warn(I18n.t("vagrant.config.triggers.bad_command_warning",
cmd: @command))
end