8000 chore: handle undefined author · nuxt/nuxt@0161985 · GitHub
[go: up one dir, main page]

Skip to content

Commit 0161985

Browse files
committed
chore: handle undefined author
1 parent b71c6f1 commit 0161985

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

scripts/_utils.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -127,6 +127,7 @@ export async function getContributors () {
127127
'Authorization': `token ${process.env.GITHUB_TOKEN}`,
128128
},
129129
})
130+
if (!author) { continue }
130131
if (!contributors.some(c => c.username === author.login)) {
131132
contributors.push({ name: commit.author.name, username: author.login })
132133
}

0 commit comments

Comments
 (0)
0