Skip to content

Commit c1636a9

Browse files
committed
check for author
1 parent 32ca675 commit c1636a9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/release/createReleasePR.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -425,7 +425,7 @@ async function createReleasePR(): Promise<void> {
425425
validCommit.prNumber
426426
? `([#${validCommit.prNumber}](https://github.com/${OWNER}/${REPO}/pull/${validCommit.prNumber}))`
427427
: undefined,
428-
`by ${validCommit.author}`,
428+
validCommit.author ? `by ${validCommit.author}` : undefined,
429429
]
430430
.filter(Boolean)
431431
.join(' ');

0 commit comments

Comments
 (0)