File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -2044,7 +2044,7 @@ function run() {
20442044 const deltaCommentIdentifier = `<!-- codeCoverageDeltaComment -->` ;
20452045 let commentId = null ;
20462046 child_process_1 . execSync ( commandToRun ) ;
2047- const codeCoverageNew = ( JSON . parse ( fs_1 . default . readFileSync ( 'coverage-summary.json' ) . toString ( ) ) ) ;
2047+ const codeCoverageNew = ( JSON . parse ( fs_1 . default . readFileSync ( codeCoverageDirectory ) . toString ( ) ) ) ;
20482048 const codeCoverageOld = ( JSON . parse ( fs_1 . default . readFileSync ( mainBranchCoverageSummaryFileName ) . toString ( ) ) ) ;
20492049 const currentDirectory = child_process_1 . execSync ( 'pwd' )
20502050 . toString ( )
Original file line number Diff line number Diff line change @@ -32,7 +32,7 @@ async function run(): Promise<void> {
3232 let commentId = null
3333 execSync ( commandToRun )
3434 const codeCoverageNew = < CoverageReport > (
35- JSON . parse ( fs . readFileSync ( 'coverage-summary.json' ) . toString ( ) )
35+ JSON . parse ( fs . readFileSync ( codeCoverageDirectory ) . toString ( ) )
3636 )
3737 const codeCoverageOld = < CoverageReport > (
3838 JSON . parse ( fs . readFileSync ( mainBranchCoverageSummaryFileName ) . toString ( ) )
You can’t perform that action at this time.
0 commit comments