Skip to content

Commit

Permalink
Fix report trimming
Browse files Browse the repository at this point in the history
  • Loading branch information
ehmicky committed Sep 19, 2021
1 parent df1dd39 commit 4ea2001
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/report/finalize.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ export const finalizeContents = function (contents) {

// A reporter can choose not to return anything
const hasContent = function ({ content }) {
return typeof content === 'string' && content.trim() !== ''
return typeof content === 'string' && content !== ''
}

// Join all `contents` with the same `output`.
Expand Down

0 comments on commit 4ea2001

Please sign in to comment.