From 983fd8ed14dbfabfbe55fcaea433218b4c5202b3 Mon Sep 17 00:00:00 2001 From: Hemachandar Date: Fri, 6 Feb 2026 12:52:07 +0530 Subject: [PATCH] strategy fix --- .../VCS/Http/Installations/Repositories/Detection/Create.php | 2 +- .../Modules/VCS/Http/Installations/Repositories/XList.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Appwrite/Platform/Modules/VCS/Http/Installations/Repositories/Detection/Create.php b/src/Appwrite/Platform/Modules/VCS/Http/Installations/Repositories/Detection/Create.php index 28b68c3570..4d1fcec0dd 100644 --- a/src/Appwrite/Platform/Modules/VCS/Http/Installations/Repositories/Detection/Create.php +++ b/src/Appwrite/Platform/Modules/VCS/Http/Installations/Repositories/Detection/Create.php @@ -219,7 +219,7 @@ class Create extends Action foreach ($strategies as $strategy) { $detector = new Runtime($strategy, $packager); - if ($strategy === Strategy::LANGUAGES) { + if ($strategy->getValue() === Strategy::LANGUAGES) { foreach ($languages as $language) { $detector->addInput($language); } diff --git a/src/Appwrite/Platform/Modules/VCS/Http/Installations/Repositories/XList.php b/src/Appwrite/Platform/Modules/VCS/Http/Installations/Repositories/XList.php index ec71d1b4b8..9acc77e1f2 100644 --- a/src/Appwrite/Platform/Modules/VCS/Http/Installations/Repositories/XList.php +++ b/src/Appwrite/Platform/Modules/VCS/Http/Installations/Repositories/XList.php @@ -223,7 +223,7 @@ class XList extends Action foreach ($strategies as $strategy) { $detector = new Runtime($strategy, $packager); - if ($strategy === Strategy::LANGUAGES) { + if ($strategy->getValue() === Strategy::LANGUAGES) { foreach ($languages as $language) { $detector->addInput($language); }