Fix wrong # of argument issue. [closes GH-518]
The second parameter actually is supposed to be options.
This commit is contained in:
parent
169b5898b0
commit
d4ff392be4
|
@ -10,7 +10,7 @@ module Vagrant
|
||||||
end
|
end
|
||||||
|
|
||||||
[:warn, :error, :info, :confirm].each do |method|
|
[:warn, :error, :info, :confirm].each do |method|
|
||||||
define_method(method) do |message|
|
define_method(method) do |message, *opts|
|
||||||
# Log normal console messages
|
# Log normal console messages
|
||||||
env.logger.info("ui") { message }
|
env.logger.info("ui") { message }
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in New Issue