Skip to content

Commit

Permalink
Fix newlines
Browse files Browse the repository at this point in the history
  • Loading branch information
ehmicky committed Sep 5, 2021
1 parent 0f99850 commit ff95034
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/report/finalize.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ const hasContent = function ({ content }) {
// Also add footer and padding.
const joinContents = function (contents) {
const [{ output, format, colors, footerString }] = contents
const content = contents.map(getContentProperty).join('\n')
const content = contents.map(getContentProperty).join('\n\n')
const contentA = `${content}${footerString}`
return { content: contentA, output, format, colors }
}
Expand Down
2 changes: 1 addition & 1 deletion src/report/formats/all/terminal.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ export const TERMINAL_FORMAT = {
},
concat: true,
footer(footer) {
return `\n${prettifyValue(footer)}\n`
return `\n\n${prettifyValue(footer)}\n`
},
padding: true,
}
2 changes: 1 addition & 1 deletion src/report/utils/table.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ export const getTables = function (rows, screenWidth) {
.map((tableRows) =>
getTable({ tableRows, rowsLeft, leftWidth, columnsWidth }),
)
.join('\n\n')
.join('\n')
}

const getRowLeft = function ([leftCell = '']) {
Expand Down

0 comments on commit ff95034

Please sign in to comment.