From 9103230f5aabac15d04a5de389c33bc5a9d5c67f Mon Sep 17 00:00:00 2001 From: harsh mahajan Date: Mon, 10 Aug 2026 10:32:14 +0530 Subject: [PATCH] fix(specs): return after exiting so the analyzer sees the stop --- src/Appwrite/Platform/Tasks/Specs.php | 1 + 1 file changed, 1 insertion(+) diff --git a/src/Appwrite/Platform/Tasks/Specs.php b/src/Appwrite/Platform/Tasks/Specs.php index dbeced4a24..0bbb9dcd02 100644 --- a/src/Appwrite/Platform/Tasks/Specs.php +++ b/src/Appwrite/Platform/Tasks/Specs.php @@ -782,6 +782,7 @@ class Specs extends Action // A throw is reported and carried on from, so stop here Console::error("Spec generation failed for {$platform} ({$format}): " . $e->getMessage()); Console::exit(1); + return; } $encodedSpecs = \json_encode($parsedSpecs, JSON_PRETTY_PRINT);