mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-24 19:33:02 +03:00
Set a message if there are no emoji-prepended commits
no issue
This commit is contained in:
parent
45bd9ec37f
commit
620047169b
@ -25,6 +25,10 @@ function getFinalChangelog(options) {
|
||||
changelog.sortByEmoji();
|
||||
}
|
||||
|
||||
if (_.isEmpty(changelog)) {
|
||||
changelog = ['No user-visible changes in this release.'];
|
||||
}
|
||||
|
||||
finalChangelog = finalChangelog.concat(changelog);
|
||||
return finalChangelog;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user