Skip to content

Commit ba3e328

Browse files
committed
remove duplicated filename in json output
1 parent 98ebb19 commit ba3e328

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

cli/main.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -214,8 +214,6 @@ def analyze(
214214
# output in JSON format if flag
215215
if json_output:
216216
import json
217-
# Add filename to results
218-
results["filename"] = file
219217
print(json.dumps(results, indent=2))
220218
else:
221219
# only print the selected stats in normal mode

0 commit comments

Comments
 (0)