Skip to content

Commit

Permalink
ignore @author when its empty while generating release notes
Browse files Browse the repository at this point in the history
  • Loading branch information
ole1986 committed Feb 18, 2021
1 parent 8b8fde1 commit f2d1a9a
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .grenrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,12 @@ function getAuthor(placeholders) {
// skip owner
return '';
}

if (placeholders.author === null) {
// skip when no author could be found
return '';
}

return `- @${placeholders.author}`;
}
function parseCommitLine(placeholders) {
Expand Down

0 comments on commit f2d1a9a

Please sign in to comment.