File tree 2 files changed +2
-2
lines changed
2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -2044,7 +2044,7 @@ function run() {
2044
2044
const deltaCommentIdentifier = `<!-- codeCoverageDeltaComment -->` ;
2045
2045
let commentId = null ;
2046
2046
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 ( ) ) ) ;
2048
2048
const codeCoverageOld = ( JSON . parse ( fs_1 . default . readFileSync ( mainBranchCoverageSummaryFileName ) . toString ( ) ) ) ;
2049
2049
const currentDirectory = child_process_1 . execSync ( 'pwd' )
2050
2050
. toString ( )
Original file line number Diff line number Diff line change @@ -32,7 +32,7 @@ async function run(): Promise<void> {
32
32
let commentId = null
33
33
execSync ( commandToRun )
34
34
const codeCoverageNew = < CoverageReport > (
35
- JSON . parse ( fs . readFileSync ( 'coverage-summary.json' ) . toString ( ) )
35
+ JSON . parse ( fs . readFileSync ( codeCoverageDirectory ) . toString ( ) )
36
36
)
37
37
const codeCoverageOld = < CoverageReport > (
38
38
JSON . parse ( fs . readFileSync ( mainBranchCoverageSummaryFileName ) . toString ( ) )
You can’t perform that action at this time.
0 commit comments