Skip to content

Commit

Permalink
Merge pull request #490 from ravindranrahul/ravindranrahul-patch-1
Browse files Browse the repository at this point in the history
fix: invalid JSON formatting
  • Loading branch information
dbale-altoros authored Aug 17, 2023
2 parents bc522b0 + 2f0a0d0 commit 353c2ef
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/formatters/json.js
Original file line number Diff line number Diff line change
Expand Up @@ -58,5 +58,5 @@ module.exports = function (results) {

if (finalMessage) allMessages.push(finalMessage)

return allMessages.length > 0 ? JSON.parse(JSON.stringify(allMessages)) : ''
return allMessages.length > 0 ? JSON.stringify(allMessages) : ''
}

0 comments on commit 353c2ef

Please sign in to comment.