Skip to content
This repository has been archived by the owner on Apr 1, 2020. It is now read-only.

Commit

Permalink
fix(format): add missing new lines
Browse files Browse the repository at this point in the history
  • Loading branch information
z0al committed Feb 15, 2018
1 parent 1ed052a commit 4d1f635
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/format.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,8 @@ function format(commits) {

commits.forEach(c => {
message += `* Commit: ${c.sha}\n`
message += c.errors.map(e => ` - ✖ ${e.message}`).join('\n')
message += c.warnings.map(w => ` - ⚠ ${w.message}`).join('\n')
message += c.errors.map(e => ` - ✖ ${e.message}\n`)
message += c.warnings.map(w => ` - ⚠ ${w.message}\n`)
})

return template.replace('<PLACEHOLDER>', message)
Expand Down

0 comments on commit 4d1f635

Please sign in to comment.