Skip to content

Commit 75bcd2c

Browse files
authored
Update get_contributors.js
1 parent c24da4c commit 75bcd2c

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

scripts/get_contributors.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -92,6 +92,8 @@ module.exports = async function (filepath) {
9292
return Object.values(
9393
[...authors, ...reviewers].reduce((accumulator, user) => {
9494
// Dedupe users
95+
// Some user objects do not have a URL (can't figure out why).
96+
// In that case, copy over a good URL instead.
9597
const newUser = accumulator[user.name] || user
9698
newUser.url = newUser.url || user.url
9799
accumulator[user.name] = newUser

0 commit comments

Comments
 (0)