diff --git a/.grenrc.js b/.grenrc.js index 297f1273..1640cd69 100644 --- a/.grenrc.js +++ b/.grenrc.js @@ -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) {