Revert "Suppressing UI output in machine-readable mode"
This reverts commit f626c53af2
.
This commit is contained in:
parent
b57d467fa2
commit
33a228a8e2
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue