Skip to content

Commit

Permalink
Don't initialize separate header variable
Browse files Browse the repository at this point in the history
  • Loading branch information
MDrakos committed Mar 19, 2024
1 parent d3bd42d commit b07d536
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions internal/output/plain.go
Original file line number Diff line number Diff line change
Expand Up @@ -452,9 +452,7 @@ func verticalRows(rows [][]verticalRow) [][]string {

for i, hrow := range rows {
for _, hcol := range hrow {
header := hcol.header

vrow := []string{header, hcol.content}
vrow := []string{hcol.header, hcol.content}
vrows = append(vrows, vrow)
}

Expand Down

0 comments on commit b07d536

Please sign in to comment.