Skip to content

Commit b00bf8c

Browse files
committed
fix: formatter print empty line
1 parent e0b822f commit b00bf8c

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

pkg/skaffold/log/stream/stream.go

+1-3
Original file line numberDiff line numberDiff line change
@@ -38,9 +38,7 @@ func StreamRequest(ctx context.Context, out io.Writer, formatter log.Formatter,
3838
default:
3939
// Read up to newline
4040
line, err := r.ReadString('\n')
41-
if line != "" {
42-
formatter.PrintLine(out, line)
43-
}
41+
formatter.PrintLine(out, line)
4442
if err == io.EOF {
4543
return nil
4644
}

0 commit comments

Comments
 (0)