From ff016cb2a26f6c09a112460a27676fc862aa922e Mon Sep 17 00:00:00 2001 From: Andras Bacsai Date: Tue, 12 Nov 2024 11:50:02 +0100 Subject: [PATCH] pint --- app/Models/Application.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app/Models/Application.php b/app/Models/Application.php index dd7c446b5..c284528f1 100644 --- a/app/Models/Application.php +++ b/app/Models/Application.php @@ -944,6 +944,7 @@ class Application extends BaseModel try { ['commands' => $lsRemoteCommand] = $this->generateGitLsRemoteCommands(deployment_uuid: $deployment_uuid, exec_in_docker: false); instant_remote_process([$lsRemoteCommand], $this->destination->server, true); + return [ 'is_accessible' => true, 'error' => null, @@ -961,7 +962,7 @@ class Application extends BaseModel $branch = $this->git_branch; ['repository' => $customRepository, 'port' => $customPort] = $this->customRepository(); $commands = collect([]); - $base_command = "git ls-remote"; + $base_command = 'git ls-remote'; if ($this->deploymentType() === 'source') { $source_html_url = data_get($this, 'source.html_url');