From f55fbda16e62511ba7d0c1adb4ee6dea1171e36d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dezs=C5=91=20BICZ=C3=93?= Date: Mon, 11 Mar 2024 11:46:18 +0100 Subject: [PATCH] Do not set the globally installed Drush as default binary path --- src/Drupal/DrupalExtension/ServiceContainer/DrupalExtension.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Drupal/DrupalExtension/ServiceContainer/DrupalExtension.php b/src/Drupal/DrupalExtension/ServiceContainer/DrupalExtension.php index a72a406f..94dcd3dc 100644 --- a/src/Drupal/DrupalExtension/ServiceContainer/DrupalExtension.php +++ b/src/Drupal/DrupalExtension/ServiceContainer/DrupalExtension.php @@ -264,7 +264,7 @@ private function loadDrush(FileLoader $loader, ContainerBuilder $container, arra $config['drush']['alias'] = isset($config['drush']['alias']) ? $config['drush']['alias'] : false; $container->setParameter('drupal.driver.drush.alias', $config['drush']['alias']); - $config['drush']['binary'] = isset($config['drush']['binary']) ? $config['drush']['binary'] : 'drush'; + $config['drush']['binary'] = isset($config['drush']['binary']) ? $config['drush']['binary'] : ''; $container->setParameter('drupal.driver.drush.binary', $config['drush']['binary']); $config['drush']['root'] = isset($config['drush']['root']) ? $config['drush']['root'] : false;