core: don't prefix ask statements
This commit is contained in:
parent
b71cde6b99
commit
7b8002eba7
|
@ -115,11 +115,12 @@ module Vagrant
|
||||||
# We have more than one provider, ask the user what they want
|
# We have more than one provider, ask the user what they want
|
||||||
choice = env[:ui].ask(I18n.t(
|
choice = env[:ui].ask(I18n.t(
|
||||||
"vagrant.box_add_choose_provider",
|
"vagrant.box_add_choose_provider",
|
||||||
options: options) + " ")
|
options: options) + " ", prefix: false)
|
||||||
choice = choice.to_i if choice
|
choice = choice.to_i if choice
|
||||||
while !choice || choice <= 0 || choice > providers.length
|
while !choice || choice <= 0 || choice > providers.length
|
||||||
choice = env[:ui].ask(I18n.t(
|
choice = env[:ui].ask(I18n.t(
|
||||||
"vagrant.box_add_choose_provider_again") + " ")
|
"vagrant.box_add_choose_provider_again") + " ",
|
||||||
|
prefix: false)
|
||||||
choice = choice.to_i if choice
|
choice = choice.to_i if choice
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue