Skip to content

Commit

Permalink
Merge branch 'develop' into 20230817-pre-release-v3.6.2
Browse files Browse the repository at this point in the history
  • Loading branch information
dbale-altoros authored Aug 17, 2023
2 parents 3b622c9 + 353c2ef commit 47fbc0a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
- `JSON` - Formatter returning JS object instead of standard json [#490](https://github.com/protofire/solhint/pull/490)



## [3.6.1] - 2023-08-11

### BREAKING CHANGE
Expand Down
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 47fbc0a

Please sign in to comment.