diff --git a/scripts/_utils.ts b/scripts/_utils.ts index fb5804c514..e9c2a1d365 100644 --- a/scripts/_utils.ts +++ b/scripts/_utils.ts @@ -127,6 +127,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 }) }