Skip to content

Fix/json output empty#120

Merged
mattyjones merged 3 commits intoN0MoreSecr3ts:masterfrom
DocEmmetBrown:fix/json_output_empty
Jun 22, 2022
Merged

Fix/json output empty#120
mattyjones merged 3 commits intoN0MoreSecr3ts:masterfrom
DocEmmetBrown:fix/json_output_empty

Conversation

@DocEmmetBrown
Copy link
Copy Markdown
Contributor

When outputting json, it is expected to have an array of findings.
If nothing is found, outputting an empty array [] instead of an empty json object {} keeps the consistency on the output type, and makes it easier to parse from external tools.

@qlty-cloud-legacy
Copy link
Copy Markdown

Code Climate has analyzed commit 0c7cf37 and detected 0 issues on this pull request.

View more on Code Climate.

@mattyjones mattyjones merged commit 42f7812 into N0MoreSecr3ts:master Jun 22, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants