From 97c72fbd1d752c3147977466a6a5be54010de1cd Mon Sep 17 00:00:00 2001 From: Mitchell Hashimoto Date: Wed, 15 Sep 2010 12:58:02 -0600 Subject: [PATCH] "self.name" needn't be defined for target_vms helper to be used --- lib/vagrant/command/helpers.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/vagrant/command/helpers.rb b/lib/vagrant/command/helpers.rb index 3873edbee..3405ca65c 100644 --- a/lib/vagrant/command/helpers.rb +++ b/lib/vagrant/command/helpers.rb @@ -12,7 +12,7 @@ module Vagrant # This returns an array of {VM} objects depending on the arguments # given to the command. def target_vms(name=nil) - name ||= self.name + name ||= self.name rescue nil @target_vms ||= begin if env.multivm?