Skip to content

Commit

Permalink
Don't count web-flow's work as contributions // ghuser-io/ghuser.io#181
Browse files Browse the repository at this point in the history
  • Loading branch information
lourot committed Jan 17, 2019
1 parent 278128c commit 49e89d7
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion calculateContribsAndMeta.js
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,11 @@

let totalContribs = 0;
for (const contributor in repoFile.contributors) {
totalContribs += repoFile.contributors[contributor];
// We don't want to count web-flow's work as real contributions, see
// https://github.com/ghuser-io/ghuser.io/issues/181
if (contributor != 'web-flow') {
totalContribs += repoFile.contributors[contributor];
}
}

score.percentage = repoFile.contributors && repoFile.contributors[userLogin] &&
Expand Down

0 comments on commit 49e89d7

Please sign in to comment.