Skip to content

Commit

Permalink
chore: fix semantic-release configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
kleinfreund committed Nov 23, 2023
1 parent baba4f2 commit 23951aa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion release.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ const commitPartial = defaultCommitPartial + customCommitPartial
function finalizeContext (context) {
for (const commitGroup of context.commitGroups) {
for (const commit of commitGroup.commits) {
commit.bodyLines = commit.body.split('\n').filter((line) => line !== '')
commit.bodyLines = commit.body?.split('\n').filter((line) => line !== '') ?? []
}
}

Expand Down

0 comments on commit 23951aa

Please sign in to comment.