From a2dc62d4e5fb52d145a8f67177d6e646f8eb94d1 Mon Sep 17 00:00:00 2001 From: Chirag Aggarwal Date: Wed, 11 Feb 2026 15:20:30 +0530 Subject: [PATCH] fix --- src/Appwrite/Platform/Tasks/SDKs.php | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/Appwrite/Platform/Tasks/SDKs.php b/src/Appwrite/Platform/Tasks/SDKs.php index 302723364d..9bb75427d0 100644 --- a/src/Appwrite/Platform/Tasks/SDKs.php +++ b/src/Appwrite/Platform/Tasks/SDKs.php @@ -78,8 +78,11 @@ class SDKs extends Action ->callback($this->action(...)); } - public function action(?string $selectedPlatform, ?string $selectedSDK, ?string $version, ?string $git, ?string $message, ?string $release, ?string $commit, ?string $sdks): void + public function action(?string $platform, ?string $sdk, ?string $version, ?string $git, ?string $message, ?string $release, ?string $commit, ?string $sdks): void { + $selectedPlatform = $platform; + $selectedSDK = $sdk; + if (!$sdks) { $selectedPlatform ??= Console::confirm('Choose Platform ("' . implode('", "', static::getPlatforms()) . '" or "*" for all):'); $selectedSDK ??= \strtolower(Console::confirm('Choose SDK ("*" for all):'));