8000 Fix null author in commit API results · TailorDev/assignees@2647846 · GitHub
[go: up one dir, main page]

Skip to content
This repository was archived by the owner on Apr 6, 2021. It is now read-only.

Commit

Permalink
Fix null author in commit API results
Browse files Browse the repository at this point in the history
  • Loading branch information
willdurand committed Jan 30, 2017
1 parent 14a33ae commit 2647846
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion tasks/findReviewers.js
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,10 @@ const selectThoseWithPushAccess = users => users.filter(u => u.permissions.push

const getLoginsFromList = users => users.map(u => u.login);

const getLoginsFromCommits = commits => commits.map(commit => commit.author.login);
const getLoginsFromCommits = commits => commits
.filter(commit => commit.author !== null)
.map(commit => commit.author.login)
;

const weigthedShuffle = items => deck.shuffle(items);

Expand Down

0 comments on commit 2647846

Please sign in to comment.
0