Skip to content

Commit 440d41b

Browse files
authored
Fix changelog issue (#25)
1 parent 827e018 commit 440d41b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/gren.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -397,7 +397,7 @@ function templateChangelog(blocks) {
397397
* @return {string}
398398
*/
399399
function templateIssueBody(body, rangeBody) {
400-
return body.length ? body.join('\n') || rangeBody + '\n' : '*No changelog for this release.*';
400+
return (body ? body.join('\n') : rangeBody || '*No changelog for this release.*') + '\n';
401401
}
402402

403403
/**

0 commit comments

Comments
 (0)