From 63ff53778078a0bc25975a679ece6896d2a24923 Mon Sep 17 00:00:00 2001 From: Elliott Stoneham Date: Mon, 5 Sep 2016 15:02:21 +0100 Subject: [PATCH] Show correct number of contributors --- core/section/github/commits_template.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/section/github/commits_template.go b/core/section/github/commits_template.go index 42a2948b..117394d1 100644 --- a/core/section/github/commits_template.go +++ b/core/section/github/commits_template.go @@ -61,7 +61,7 @@ const commitsTemplate = ` {{if .HasCommits}}

Commits

-

There are {{len .BranchCommits}} commits by {{len .AuthorStats}} contributors +

There are {{len .BranchCommits}} commits by {{.NumContributors}} contributors across {{.RepoCount}} {{if eq 1 .RepoCount}} repository. {{else}} repositories. {{end}}