From 25a7650fa032fc5c88935de1d434589c815dce2d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Oskar=20Sch=C3=B6ldstr=C3=B6m?= Date: Fri, 2 Jun 2017 00:13:53 -0500 Subject: [PATCH] fix vendor-dir location in composer.json --- Vagrantfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Vagrantfile b/Vagrantfile index b6d01a33a..a636e954b 100644 --- a/Vagrantfile +++ b/Vagrantfile @@ -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}"