Suppressing UI output in machine-readable mode

This commit is contained in:
Greg J Preece 2019-05-30 08:39:49 -07:00
parent 2088bfb60d
commit f626c53af2
1 changed files with 0 additions and 6 deletions

View File

@ -103,12 +103,6 @@ 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)