Skip to content

Commit 10f3b59

Browse files
authored
Merge pull request #4497 from SweetVishnya/fix-eslint-null-column
fix(report-converter): Support null column in eslint reports
2 parents e938190 + af69dfc commit 10f3b59

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tools/report-converter/codechecker_report_converter/analyzers/eslint/analyzer_result.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ def get_reports(self, file_path: str) -> List[Report]:
5959
get_or_create_file(
6060
os.path.abspath(file_path), file_cache),
6161
int(bug['line']),
62-
int(bug['column']),
62+
int(bug['column']) if bug['column'] else 0,
6363
bug['message'],
6464
bug['ruleId']))
6565

0 commit comments

Comments
 (0)