File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -41,7 +41,7 @@ def load_from_sqlite_database(
4141 if not database_path .stat ().st_size or not database_path .exists ():
4242 logger .debug (f"Coverage database { database_path } is empty or does not exist" )
4343 sentry_sdk .capture_message (f"Coverage database { database_path } is empty or does not exist" )
44- return CoverageUtils .create_empty (source_code_path , function_name , code_context )
44+ return CoverageData .create_empty (source_code_path , function_name , code_context )
4545 cov .load ()
4646
4747 reporter = JsonReporter (cov )
@@ -51,7 +51,7 @@ def load_from_sqlite_database(
5151 reporter .report (morfs = [source_code_path .as_posix ()], outfile = f )
5252 except NoDataError :
5353 sentry_sdk .capture_message (f"No coverage data found for { function_name } in { source_code_path } " )
54- return CoverageUtils .create_empty (source_code_path , function_name , code_context )
54+ return CoverageData .create_empty (source_code_path , function_name , code_context )
5555 with temp_json_file .open () as f :
5656 original_coverage_data = json .load (f )
5757
You can’t perform that action at this time.
0 commit comments