1
0
Fork 0
mirror of synced 2024-08-04 13:01:45 +12:00

Fixed composer error

This commit is contained in:
Khushboo Verma 2024-02-18 18:04:16 +05:30
parent f5919aad4a
commit 6ebca949c0

View file

@ -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;
}