Skip to content

Commit

Permalink
Add setShellPath method to customize shell path in Host class (#3942)
Browse files Browse the repository at this point in the history
  • Loading branch information
smartfire-tech authored Oct 24, 2024
1 parent 44b38f2 commit 9b66699
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions src/Host/Host.php
Original file line number Diff line number Diff line change
Expand Up @@ -198,6 +198,17 @@ public function getShell(): ?string
return $this->config->get('shell', null);
}

public function setShellPath(string $path): self
{
$this->config->set('shell_path', $path);
return $this;
}

public function getShellPath(): ?string
{
return $this->config->get('shell_path', null);
}

public function setDeployPath(string $path): self
{
$this->config->set('deploy_path', $path);
Expand Down

0 comments on commit 9b66699

Please sign in to comment.