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

Commit 7a08ba1

Browse files
newnewbz0al
authored andcommitted
style: Fixed formating issue
1 parent 0798344 commit 7a08ba1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/format.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,8 @@ function format(commits) {
2828

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

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

0 commit comments

Comments
 (0)