N0MoreSecr3ts / wraith

Uncover forgotten secrets and bring them back to life, haunting security and operations teams.
MIT License
207 stars 42 forks source link

Fix/json output empty #120

Closed DocEmmetBrown closed 2 years ago

DocEmmetBrown commented 3 years ago

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.

codeclimate[bot] commented 3 years ago

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

View more on Code Climate.