fix(specs): return after exiting so the analyzer sees the stop

This commit is contained in:
harsh mahajan committed 2026-08-10 10:32:14 +05:30
1 parent 78f48bb974
commit 9103230f5a
1 file changed
+1
+1
View File
@@ -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);