Set a message if there are no emoji-prepended commits

no issue
This commit is contained in:
Daniel Lockyer 2020-02-10 13:53:18 +00:00
parent 45bd9ec37f
commit 620047169b

View File

@ -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;
}