diff --git a/py/common/results.py b/py/common/results.py index 7f29932..c653479 100644 --- a/py/common/results.py +++ b/py/common/results.py @@ -313,7 +313,7 @@ def finalize_results(js_file, results, props): % (js_file, chk_re, csgrep_args) # finally take all defects that were tagged important by the scanner already - cmd += " | csgrep --mode=json --set-imp-level=0" + cmd += " | csgrep --mode=json --set-imp-level=0 --remove-duplicates" cmd += f" <(csgrep --mode=json --imp-level=1 '{js_file}') -" # write the result into *-imp.js