Skip to content

Commit

Permalink
fix: swallow release arrow, close #25
Browse files Browse the repository at this point in the history
  • Loading branch information
bahmutov committed Sep 13, 2017
1 parent b4c9b14 commit e521f22
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions src/human-format.js
Original file line number Diff line number Diff line change
Expand Up @@ -164,8 +164,12 @@ function toHumanFormat (releases) {
// debug(release);

if (release) {
r.release = release.body ? cleanReleaseNotesGitHub(release.body)
: cleanReleaseNotesGitLab(release.commit)
try {
r.release = release.body ? cleanReleaseNotesGitHub(release.body)
: cleanReleaseNotesGitLab(release.commit)
} catch (e) {
// ignore for now
}
}
})
}
Expand Down

0 comments on commit e521f22

Please sign in to comment.