Skip to content

Commit

Permalink
disable table text wrapping
Browse files Browse the repository at this point in the history
  • Loading branch information
ayoisaiah committed Oct 14, 2023
1 parent 958c363 commit 770a241
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
1 change: 1 addition & 0 deletions report/report.go
Original file line number Diff line number Diff line change
Expand Up @@ -163,6 +163,7 @@ func printTable(data [][]string, writer io.Writer) {
table.SetCenterSeparator("*")
table.SetColumnSeparator("|")
table.SetRowSeparator("—")
table.SetAutoWrapText(false)
table.SetHeaderColor(
tablewriter.Colors{tablewriter.Bold, tablewriter.FgCyanColor},
tablewriter.Colors{tablewriter.Bold, tablewriter.FgCyanColor},
Expand Down
13 changes: 6 additions & 7 deletions testdata/auto_fix_overwriting_new_path.golden
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
*—————————————————————————————————*————————————————————————————————*————————*
|  ORIGINAL  |  RENAMED  | STATUS |
*—————————————————————————————————*————————————————————————————————*————————*
| testdata/audio/sample_flac.flac | testdata/audio/sample_m4a.m4a | ok |
| testdata/audio/sample_ogg.ogg | testdata/audio/sample_m4a | ok |
| | (2).m4a | |
*—————————————————————————————————*————————————————————————————————*————————*
*—————————————————————————————————*———————————————————————————————————*————————*
|  ORIGINAL  |  RENAMED  | STATUS |
*—————————————————————————————————*———————————————————————————————————*————————*
| testdata/audio/sample_flac.flac | testdata/audio/sample_m4a.m4a | ok |
| testdata/audio/sample_ogg.ogg | testdata/audio/sample_m4a (2).m4a | ok |
*—————————————————————————————————*———————————————————————————————————*————————*
DRY RUN: Commit the above changes with the -x/--exec flag

0 comments on commit 770a241

Please sign in to comment.