mirror of
https://github.com/appwrite/appwrite.git
synced 2026-11-18 20:36:03 +00:00
Fixed composer error
This commit is contained in:
1 parent
f5919aad4a
commit
6ebca949c0
1 file changed
+4
-2
@@ -390,8 +390,9 @@ class Builds extends Action
|
||||
$response = null;
|
||||
$err = null;
|
||||
|
||||
if ($build->getAttribute('status') === 'cancelled')
|
||||
if ($build->getAttribute('status') === 'cancelled') {
|
||||
return;
|
||||
}
|
||||
|
||||
Co::join([
|
||||
Co\go(function () use ($executor, &$response, $project, $deployment, $source, $function, $runtime, $vars, $command, &$err) {
|
||||
@@ -459,8 +460,9 @@ class Builds extends Action
|
||||
]);
|
||||
|
||||
if ($err) {
|
||||
if ($build->getAttribute('status') === 'cancelled')
|
||||
if ($build->getAttribute('status') === 'cancelled') {
|
||||
return;
|
||||
}
|
||||
throw $err;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user