Skip to content

Commit

Permalink
skip printing empty rows in tablePrinter (#301)
Browse files Browse the repository at this point in the history
  • Loading branch information
mwennrich authored May 31, 2024
1 parent 4a22f2b commit b7778f5
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions cmd/output/printer.go
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,9 @@ func (t *tablePrinter) render() {
if len(row) < 1 {
continue
}
if len(row[0]) == 0 {
continue
}
fmt.Println(row[0])
}
t.shortData = [][]string{}
Expand Down

0 comments on commit b7778f5

Please sign in to comment.