Copy & paste is evil
This commit is contained in:
parent
add4908912
commit
23e25c40ab
1 changed files with 3 additions and 3 deletions
|
@ -13,12 +13,12 @@ module Vagrant
|
||||||
@app.call env
|
@app.call env
|
||||||
end
|
end
|
||||||
|
|
||||||
# This method returns an actual list of VirtualBox shared
|
# This method returns an actual list of synced folders to create and their
|
||||||
# folders to create and their proper path.
|
# proper path.
|
||||||
def shared_folders
|
def shared_folders
|
||||||
{}.tap do |result|
|
{}.tap do |result|
|
||||||
@env[:machine].config.vm.synced_folders.each do |id, data|
|
@env[:machine].config.vm.synced_folders.each do |id, data|
|
||||||
#Ignore disabled shared folders
|
# Ignore disabled shared folders
|
||||||
next if data[:disabled]
|
next if data[:disabled]
|
||||||
# This to prevent overwriting the actual shared folders data
|
# This to prevent overwriting the actual shared folders data
|
||||||
result[id] = data.dup
|
result[id] = data.dup
|
||||||
|
|
Loading…
Reference in a new issue