Skip to content

Commit a658787

Browse files
committedJan 15, 2025··
chore: skip missing commit in generating changelog
1 parent 6dfd68e commit a658787

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed
 

‎scripts/_utils.ts

+3
Original file line numberDiff line numberDiff line change
@@ -121,6 +121,9 @@ export async function getContributors() {
121121
if (emails.has(commit.author.email) || commit.author.name === 'renovate[bot]') {
122122
continue
123123
}
124+
if (!commit?.shortHash) {
125+
continue
126+
}
124127
const { author } = await $fetch<{ author: { login: string, email: string } }>(`https://api.github.com/repos/nuxt/image/commits/${commit.shortHash}`, {
125128
headers: {
126129
'User-Agent': 'nuxt/image',

0 commit comments

Comments
 (0)
Please sign in to comment.