mirror of
https://github.com/vitodeploy/vito.git
synced 2025-07-03 15:02:34 +00:00
Plugins base (#613)
* wip * wip * cleanup * notification channels * phpstan * services * remove server types * refactoring * refactoring
This commit is contained in:
@ -225,7 +225,7 @@ public function tail(string $path, int $lines): string
|
||||
public function runScript(string $path, string $script, ?ServerLog $serverLog, ?string $user = null, ?array $variables = []): ServerLog
|
||||
{
|
||||
$ssh = $this->server->ssh($user);
|
||||
if ($serverLog instanceof \App\Models\ServerLog) {
|
||||
if ($serverLog instanceof ServerLog) {
|
||||
$ssh->setLog($serverLog);
|
||||
}
|
||||
$command = '';
|
||||
|
Reference in New Issue
Block a user