We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e1683cf commit 44b0b8eCopy full SHA for 44b0b8e
internal/supervisor/output.go
@@ -58,10 +58,10 @@ func (m *multiOutput) PipeOutput(proc *process) {
58
reader := bufio.NewReader(pipe.pty)
59
for {
60
line, err := reader.ReadBytes('\n')
61
-
62
- // Write to console regardless of whether there's an error.
63
- m.WriteLine(proc, line)
64
+ // Only write non-empty lines.
+ if len(line) > 0 {
+ m.WriteLine(proc, line)
+ }
65
if err != nil {
66
if err != io.EOF {
67
log.Printf("reader error: %v", err)
0 commit comments