This commit is contained in:
Corey Butler 2020-04-01 14:30:35 -05:00
parent 85976544cf
commit 4bb6d67f62

View File

@ -59,7 +59,7 @@ export default class Tag {
return changelog.data.commits
.map(
(commit, i) =>
`${i + 1}) ${commit.commit.message}${
`${i === 0 ? '\n' : ''}${i + 1}) ${commit.commit.message}${
commit.hasOwnProperty('author')
? commit.author.hasOwnProperty('login')
? ' (' + commit.author.login + ')'