diff --git a/scripts/_utils.ts b/scripts/_utils.ts index fa28f92e25..257c0b02b3 100644 --- a/scripts/_utils.ts +++ b/scripts/_utils.ts @@ -145,6 +145,7 @@ export async function getContributors () { 'Authorization': `token ${process.env.GITHUB_TOKEN}`, }, }) + if (!author) { continue } if (!contributors.some(c => c.username === author.login)) { contributors.push({ name: commit.author.name, username: author.login }) }