From 9158b84084f30157fd40805679d4424087dac327 Mon Sep 17 00:00:00 2001 From: Tom Stovall Date: Thu, 6 Feb 2025 17:50:38 -0800 Subject: [PATCH] cwd --- RoboFile.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/RoboFile.php b/RoboFile.php index 2261aa3..17ca521 100644 --- a/RoboFile.php +++ b/RoboFile.php @@ -215,12 +215,13 @@ public function cloneSite(string $site_name): Result { */ public function requireMod( string $site_name, - string $constraint = '^8' + string $constraint = '^2-dev' ) { $site_folder = $this->getSiteFolder($site_name); chdir($site_folder); // Always test again latest version of search_api_solr. $this->taskExec('composer') + ->cwd($site_folder) ->args( 'require', $this->repository,