Output special character "%"
printf the special character for "things" is % + STUFF, so if you want just a % you have to use the special character % and then combine it with % to get a single %
This commit is contained in:
parent
1c63921a6c
commit
f670b7ca5b
@ -296,7 +296,7 @@ module Vagrant
|
||||
# This method handles actually outputting a message of a given type
|
||||
# to the console.
|
||||
def say(type, message, opts={})
|
||||
@client.output([message])
|
||||
@client.output([message.gsub("%", "%%")])
|
||||
end
|
||||
|
||||
[:detail, :info, :warn, :error, :output, :success].each do |method|
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user