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 c905ea5 commit 5a435b7Copy full SHA for 5a435b7
lib/format.js
@@ -28,8 +28,8 @@ function format(commits) {
28
29
commits.forEach(c => {
30
message += `* Commit: ${c.sha}\n`
31
- message += c.errors.map(e => ` - ✖ ${e.message}\n`)
32
- message += c.warnings.map(w => ` - ⚠ ${w.message}\n`)
+ message += c.errors.map(e => ` - ✖ ${e.message}\n`).join('')
+ message += c.warnings.map(w => ` - ⚠ ${w.message}\n`).join('')
33
})
34
35
return template.replace('<PLACEHOLDER>', message)
0 commit comments