mirror of
https://github.com/vitodeploy/vito.git
synced 2025-07-02 22:46:16 +00:00
- 2.x - sites finishing
This commit is contained in:
@ -51,7 +51,7 @@ public function init(Server $server, ?string $asUser = null): self
|
||||
return $this;
|
||||
}
|
||||
|
||||
public function setLog(ServerLog $log): self
|
||||
public function setLog(?ServerLog $log): self
|
||||
{
|
||||
$this->log = $log;
|
||||
|
||||
@ -93,7 +93,6 @@ public function connect(bool $sftp = false): void
|
||||
*/
|
||||
public function exec(string $command, string $log = '', ?int $siteId = null, ?bool $stream = false, ?callable $streamCallback = null): string
|
||||
{
|
||||
ds($command);
|
||||
if (! $this->log && $log) {
|
||||
$this->log = ServerLog::make($this->server, $log);
|
||||
if ($siteId) {
|
||||
|
Reference in New Issue
Block a user