diff --git a/app/Jobs/Services/RunStep.php b/app/Jobs/Services/RunStep.php index 9b9414b..285dd92 100644 --- a/app/Jobs/Services/RunStep.php +++ b/app/Jobs/Services/RunStep.php @@ -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), diff --git a/resources/js/pages/servers/Show.vue b/resources/js/pages/servers/Show.vue index c14e94a..352e56b 100644 --- a/resources/js/pages/servers/Show.vue +++ b/resources/js/pages/servers/Show.vue @@ -109,10 +109,10 @@ watch(counter, () => { {{ step.name ?? 'Unnamed Step' }}
{{ step.error_logs }}
{{ step.logs }}