mirror of
https://github.com/coollabsio/coolify.git
synced 2026-03-11 08:55:47 +00:00
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 @@ class Application extends BaseModel
|
|||
|
||||
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