From 6cacb868171f507dd9b4cb49f26ece1695e4e71b Mon Sep 17 00:00:00 2001 From: Mitchell Hashimoto Date: Tue, 31 Dec 2013 08:39:36 -0800 Subject: [PATCH] core: undo last for now --- lib/vagrant/action/builtin/box_add.rb | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/lib/vagrant/action/builtin/box_add.rb b/lib/vagrant/action/builtin/box_add.rb index 20ae3a9d4..ff0313b79 100644 --- a/lib/vagrant/action/builtin/box_add.rb +++ b/lib/vagrant/action/builtin/box_add.rb @@ -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,