Skip to content
This repository was archived by the owner on Feb 13, 2023. It is now read-only.

Commit 25a7650

Browse files
committed
fix vendor-dir location in composer.json
1 parent 5df9430 commit 25a7650

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Vagrantfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ if File.exist?("#{host_project_dir}/composer.json")
1515
end
1616

1717
# If Drupal VM is a Composer dependency set the correct path.
18-
vendor_dir = ENV['COMPOSER_VENDOR_DIR'] || composer_conf.fetch('extra', {}).fetch('vendor-dir', 'vendor')
18+
vendor_dir = ENV['COMPOSER_VENDOR_DIR'] || composer_conf.fetch('config', {}).fetch('vendor-dir', 'vendor')
1919
drupalvm_path = "#{vendor_dir}/geerlingguy/drupal-vm"
2020
if Dir.exist?("#{host_project_dir}/#{drupalvm_path}")
2121
host_drupalvm_dir = "#{host_project_dir}/#{drupalvm_path}"

0 commit comments

Comments
 (0)