Skip to content

Commit

Permalink
fix: improve output with more newlines
Browse files Browse the repository at this point in the history
  • Loading branch information
ChristianMoesl committed Mar 29, 2024
1 parent 16572f3 commit b7958e2
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion leaderboard.go
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ type Stats struct {
}

func processRepositories(client *github.Client, options *Options, repos chan *github.Repository, stats chan *Stats) {
fmt.Printf("Processing data since %v matching repository name pattern %s", options.Since, options.NamePattern)
fmt.Printf("Processing data since %v matching repository name pattern %s\n", options.Since, options.NamePattern)

var wg sync.WaitGroup
for repo := range repos {
Expand Down Expand Up @@ -282,6 +282,7 @@ func showResults(statsPerUser map[string]*Stats) {
t.AppendRow(table.Row{stats.Name, stats.PullRequests, stats.Reviews, stats.Comments, stats.CommentLinesWritten})
}

fmt.Println()
fmt.Println(t.Render())
}

Expand Down

0 comments on commit b7958e2

Please sign in to comment.