Merge pull request #10482 from briancain/redirect-version-check-to-stderr
Fixes #10463: Display version update on stderr instead of stdout
This commit is contained in:
commit
b6fb971350
|
@ -162,8 +162,8 @@ module Vagrant
|
|||
ui = Vagrant::UI::Prefixed.new(env.ui, "vagrant")
|
||||
if latest_version > installed_version
|
||||
@logger.info("new version of Vagrant available - #{latest_version}")
|
||||
ui.info(I18n.t("vagrant.version_upgrade_available", latest_version: latest_version, installed_version: installed_version))
|
||||
env.ui.info("")
|
||||
ui.info(I18n.t("vagrant.version_upgrade_available", latest_version: latest_version, installed_version: installed_version), channel: :error)
|
||||
env.ui.info("", channel: :error)
|
||||
else
|
||||
@logger.debug("vagrant is currently up to date")
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue