"self.name" needn't be defined for target_vms helper to be used
This commit is contained in:
parent
bae6c57230
commit
97c72fbd1d
|
@ -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?
|
||||
|
|
Loading…
Reference in New Issue