Skip to content

Commit

Permalink
Fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
romain-dd committed May 5, 2023
1 parent 28013b4 commit ea46a68
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion guarddog/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,7 @@ def _scan(identifier, version, rules, exclude_rules, output_format, exit_non_zer
if output_format == "json":
import json as js
if len(results) == 1:
# return only a json like {}
# return only a json like {}
print(js.dumps(results[0]))
else:
# Return a list of result like [{},{}]
Expand Down

0 comments on commit ea46a68

Please sign in to comment.