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

Commit

Permalink
fix vendor-dir location in composer.json
Browse files Browse the repository at this point in the history
  • Loading branch information
oxyc committed Jun 2, 2017
1 parent 5df9430 commit 25a7650
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Vagrantfile
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ if File.exist?("#{host_project_dir}/composer.json")
end

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

0 comments on commit 25a7650

Please sign in to comment.