Fix wrong # of argument issue. [closes GH-518]

The second parameter actually is supposed to be options.
This commit is contained in:
Mitchell Hashimoto 2011-10-14 17:17:41 +02:00
parent 169b5898b0
commit d4ff392be4
1 changed files with 1 additions and 1 deletions

View File

@ -10,7 +10,7 @@ module Vagrant
end
[:warn, :error, :info, :confirm].each do |method|
define_method(method) do |message|
define_method(method) do |message, *opts|
# Log normal console messages
env.logger.info("ui") { message }
end