Closed danielszot closed 1 week ago
Thanks for raising. This is fixed in the main
branch but it doesn't look like the fix is in the latest release.
L230 in main.py
in main branch is good:
ret += input_files.get_report().get_issue_count_for_severity(severity)
L229 in main.py
in 3.0.3 is bad (and 3.0.2 is broken too)
counts = input_files.get_result_count_by_severity()
Tagging @debonte , possible to make a new release?
Yes, this is a duplicate of https://github.com/microsoft/sarif-tools/issues/73 which is already fixed. I'll ship a new release today.
@danielszot, I just shipped 3.0.4 with the fix for this issue.
Seems there is regression in
check
command because of recent Python API change. See:The same command works fine on sarif-tools 2.0.0.