Skip to content

Commit

Permalink
try writing lines differently 🤷 #25
Browse files Browse the repository at this point in the history
  • Loading branch information
aidansteele committed May 29, 2019
1 parent 7466e60 commit 5c96ebb
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions pkg/stackit/tail_printer.go
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,7 @@ func (tp *TailPrinter) FormatTailEvent(tailEvent TailStackEvent) string {

func (tp *TailPrinter) PrintTailEvent(tailEvent TailStackEvent) {
line := tp.FormatTailEvent(tailEvent)
tp.writer.Write([]byte(line))
tp.writer.Write([]byte("\n"))
fmt.Fprintln(tp.writer, line)
}

func fixedLengthString(length int, str string) string {
Expand Down

0 comments on commit 5c96ebb

Please sign in to comment.