refactor: Add null check for docker_compose_raw in parseCompose()
This commit is contained in:
parent
df03b950eb
commit
62d63037e2
1 changed files with 3 additions and 0 deletions
|
|
@ -1103,6 +1103,9 @@ public function parseRawCompose()
|
|||
|
||||
public function parseCompose(int $pull_request_id = 0, ?int $preview_id = null)
|
||||
{
|
||||
if (! $this->docker_compose_raw) {
|
||||
return collect([]);
|
||||
}
|
||||
$isNew = false;
|
||||
|
||||
$isSameDockerComposeFile = false;
|
||||
|
|
|
|||
Loading…
Reference in a new issue