We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5f72ad5 commit 2b317f7Copy full SHA for 2b317f7
scripts/changelog.js
@@ -136,7 +136,7 @@ function generateMarkDown(commits) {
136
for (const scopeName in scopeGroups) {
137
markdown += '- `' + scopeName + '`' + '\n'
138
for (const commit of scopeGroups[scopeName]) {
139
- markdown += ' - ' + commit.references.join(', ') + ' ' + commit.message.replace(/^(.)/, v => v.toUpperCase()) + '\n'
+ markdown += ' - ' + commit.references.join(', ') + (commit.references.length ? ' ' : '') + commit.message.replace(/^(.)/, v => v.toUpperCase()) + '\n'
140
}
141
142
0 commit comments