@@ -239,6 +239,7 @@ def to_macro_expansions(
239
239
html_reports .append ({
240
240
'fileId' : report .file .id ,
241
241
'reportHash' : report .report_hash ,
242
+ 'path' : report .file .path ,
242
243
'checker' : {
243
244
'name' : report .checker_name ,
244
245
'url' : self ._get_doc_url (report ) or ''
@@ -309,7 +310,7 @@ def create_index_html(self, output_dir: str):
309
310
310
311
table_reports = map (lambda data : {
311
312
'link' : os .path .basename (data ['link' ]),
312
- 'file-path' : data ['report' ]['fileId ' ],
313
+ 'file-path' : data ['report' ]['path ' ],
313
314
'report-hash' : data ['report' ]['reportHash' ],
314
315
'checker-name' : data ['report' ]['checker' ]['name' ],
315
316
'checker-url' : data ['report' ]['checker' ]['url' ],
@@ -436,7 +437,6 @@ def convert(
436
437
if not reports :
437
438
LOG .info ('No report data in %s file.' , file_path )
438
439
return set ()
439
-
440
440
html_filename = f"{ os .path .basename (file_path )} .html"
441
441
html_output_path = os .path .join (output_dir_path , html_filename )
442
442
_ , changed_files = html_builder .create (
0 commit comments