core: undo last for now
This commit is contained in:
parent
619fe9a056
commit
6cacb86817
|
@ -33,10 +33,7 @@ module Vagrant
|
|||
|
||||
# Determine if we already have the box before downloading
|
||||
# it again. We can only do this if we specify a format
|
||||
if !box_formats
|
||||
env[:ui].warn(I18n.t(
|
||||
"vagrant.actions.box.download.no_provider_cant_check"))
|
||||
else
|
||||
if box_formats
|
||||
begin
|
||||
if env[:box_collection].find(box_name, box_formats)
|
||||
raise Errors::BoxAlreadyExists,
|
||||
|
|
Loading…
Reference in New Issue