get rid of empty output

This commit is contained in:
2025-05-22 18:45:10 +01:00
parent 27a0f5b988
commit b0517a18ba
2 changed files with 5 additions and 2 deletions

View File

@@ -31,6 +31,9 @@ class RunStep implements ShouldQueue
$ssh = $server->sshClient()
->onOutput(function ($type, $output) {
if (trim($output) === '') {
return;
}
if ($type === Process::OUT) {
$this->step->update([
'logs' => $this->step->logs . "\n" . trim($output),