Skip to content

Commit dc73972

Browse files
committed
fix sub table padding
1 parent 74940bc commit dc73972

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

internal/cmd/root.go

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -532,19 +532,19 @@ func displayTableStats(stats *StatsCollector) {
532532
}
533533
fmt.Println(bot)
534534

535-
// Print summary mini-table
536-
summaryTop := "╭───────────────┬───────────┬──────────────┬────────────────────────────╮"
537-
summaryHead := "│ Repos │ Combined │ Skipped (MC) │ Skipped (DNM)│ Time │"
538-
summarySep := "├──────────────┼───────────┼──────────────┼────────────────────────────┤"
535+
// Print summary mini-table with proper padding
536+
summaryTop := "╭───────────────┬─────────────┬──────────────┬───────────────┬───────────────╮"
537+
summaryHead := "│ Repos │ Combined │ Skipped (MC) │ Skipped (DNM) │ Time │"
538+
summarySep := "├──────────────┼─────────────┼──────────────┼───────────────┼───────────────┤"
539539
summaryRow := fmt.Sprintf(
540-
"│ %-11d │ %-9d │ %-12d │ %-12d │ %-12s │",
540+
"│ %-13d │ %-11d │ %-13d │ %-13d │ %-13s │",
541541
stats.ReposProcessed,
542542
stats.PRsCombined,
543543
stats.PRsSkippedMergeConflict,
544544
stats.PRsSkippedCriteria,
545545
stats.EndTime.Sub(stats.StartTime).Round(time.Second),
546546
)
547-
summaryBot := "╰──────────────┴───────────┴──────────────┴────────────────────────────╯"
547+
summaryBot := "╰──────────────┴─────────────┴──────────────┴───────────────┴───────────────╯"
548548
fmt.Println()
549549
fmt.Println(summaryTop)
550550
fmt.Println(summaryHead)

0 commit comments

Comments
 (0)