Skip to content

Commit 2047781

Browse files
committed
Fixed a missing configuration setting when the vagrant.yml is missing
1 parent bd4a877 commit 2047781

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

Vagrantfile

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,9 +33,7 @@ Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
3333
set_port_mapping_for(config, 'redis', 6379, custom_settings)
3434
set_port_mapping_for(config, 'rails', 3000, custom_settings, true)
3535

36-
if sync_settings = custom_settings['sync']
37-
config.vm.synced_folder '.', '/home/vagrant/web', nfs: sync_settings['use_nfs']
38-
end
36+
config.vm.synced_folder '.', '/home/vagrant/web', nfs: custom_settings['use_nfs']
3937

4038
config.vm.provider :virtualbox do |vb|
4139
# Use custom settings unless they don't exist

0 commit comments

Comments
 (0)