synced_folders/nfs: style

This commit is contained in:
Mitchell Hashimoto 2013-12-06 15:07:55 -08:00
parent 55931d507e
commit 76df3ced03
1 changed files with 4 additions and 1 deletions

View File

@ -53,8 +53,11 @@ module VagrantPlugins
def cleanup(machine)
# Get the ID of all active machines.
ids = machine.env.active_machines.map { |m| machine.env.machine(m[0], m[1]).id }
ids = machine.env.active_machines.map do |name, provider|
machine.env.machine(name, provider).id
end
# Prune any of the unused machines
machine.env.host.nfs_prune(ids)
end