Revert "Suppressing UI output in machine-readable mode"

This reverts commit f626c53af2.
This commit is contained in:
Greg J Preece 2019-06-04 20:58:52 -07:00
parent b57d467fa2
commit 33a228a8e2
1 changed files with 6 additions and 0 deletions

View File

@ -103,6 +103,12 @@ module Vagrant
raise Errors::UIExpectsTTY
end
[:detail, :warn, :error, :info, :output, :success].each do |method|
define_method(method) do |message, *args, **opts|
machine("ui", method.to_s, message, *args, **opts)
end
end
def machine(type, *data)
opts = {}
opts = data.pop if data.last.kind_of?(Hash)