Skip to content

Commit

Permalink
initial release.
Browse files Browse the repository at this point in the history
  • Loading branch information
muratgozel committed Sep 9, 2021
1 parent 230cab7 commit 5d62411
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/modules/git/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,9 @@ function getChangelogForTag(tag) {
console.log('msgsByCommit:', msgsByCommit)

return hashes.reduce(function(memo, hash) {
msgsByCommit[hash].map(msg => memo.push(msg))
if (msgsByCommit.hasOwnProperty(hash)) {
msgsByCommit[hash].map(msg => memo.push(msg))
}
return memo
}, [])
}
Expand Down

0 comments on commit 5d62411

Please sign in to comment.