pint
This commit is contained in:
parent
ad775ba1f0
commit
ff016cb2a2
1 changed files with 2 additions and 1 deletions
|
|
@ -944,6 +944,7 @@ public function getGitRemoteStatus(string $deployment_uuid)
|
|||
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 @@ public function generateGitLsRemoteCommands(string $deployment_uuid, bool $exec_
|
|||
$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');
|
||||
|
|
|
|||
Loading…
Reference in a new issue