Skip to content

Commit

Permalink
Fix the CONTRIBUTORS entry
Browse files Browse the repository at this point in the history
  • Loading branch information
oleg-nenashev authored Oct 9, 2019
1 parent 56f7e2d commit 4fafe0d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/releases.js
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,8 @@ const contributorsSentence = ({ commits, pullRequests }) => {
})

pullRequests.forEach(pullRequest => {
contributors.add(`@${pullRequest.author.login}`)
let author = pullRequest.author ? pullRequest.author.login : "unknown"
contributors.add(`@${author}`)
})

const sortedContributors = Array.from(contributors).sort()
Expand Down

0 comments on commit 4fafe0d

Please sign in to comment.