diff --git a/tools/report-converter/codechecker_report_converter/report/output/html/html.py b/tools/report-converter/codechecker_report_converter/report/output/html/html.py index d2fabfc5d1..f896fbe932 100644 --- a/tools/report-converter/codechecker_report_converter/report/output/html/html.py +++ b/tools/report-converter/codechecker_report_converter/report/output/html/html.py @@ -170,7 +170,7 @@ def _add_source_file(self, file: File) -> FileSource: file_content = InvalidFileContentMsg self.files[file.id] = { - 'filePath': file.path, 'content': file_content} + 'id': file.id, 'filePath': file.path, 'content': file_content} return self.files[file.id]