Skip to content

Commit b5067a4

Browse files
committed
chore: fix semantic-release configuration
1 parent 95ef48c commit b5067a4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

release.config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ const commitPartial = defaultCommitPartial + customCommitPartial
1212
function finalizeContext (context) {
1313
for (const commitGroup of context.commitGroups) {
1414
for (const commit of commitGroup.commits) {
15-
commit.bodyLines = commit.body.split('\n').filter((line) => line !== '')
15+
commit.bodyLines = commit.body?.split('\n').filter((line) => line !== '') ?? []
1616
}
1717
}
1818

0 commit comments

Comments
 (0)