Copy & paste is evil

This commit is contained in:
Fabio Rehm 2013-10-10 12:55:06 -03:00
parent add4908912
commit 23e25c40ab

View file

@ -13,12 +13,12 @@ module Vagrant
@app.call env
end
# This method returns an actual list of VirtualBox shared
# folders to create and their proper path.
# This method returns an actual list of synced folders to create and their
# proper path.
def shared_folders
{}.tap do |result|
@env[:machine].config.vm.synced_folders.each do |id, data|
#Ignore disabled shared folders
# Ignore disabled shared folders
next if data[:disabled]
# This to prevent overwriting the actual shared folders data
result[id] = data.dup