@@ -2041,20 +2041,16 @@ function run() {
2041
2041
const commentIdentifier = `<!-- codeCoverageDiffComment -->` ;
2042
2042
const deltaCommentIdentifier = `<!-- codeCoverageDeltaComment -->` ;
2043
2043
let totalDelta = null ;
2044
- console . log ( '>>>>>>1' ) ;
2045
2044
if ( rawTotalDelta !== null ) {
2046
2045
totalDelta = Number ( rawTotalDelta ) ;
2047
2046
}
2048
- console . log ( '>>>>>>2' ) ;
2049
2047
let commentId = null ;
2050
2048
child_process_1 . execSync ( `${ commandToRun } ` ) ;
2051
- console . log ( '>>>>>>3' ) ;
2052
2049
const codeCoverageNew = ( JSON . parse ( fs_1 . default . readFileSync ( 'coverage-summary.json' ) . toString ( ) ) ) ;
2053
2050
// execSync('/usr/bin/git fetch')
2054
2051
// execSync('/usr/bin/git stash')
2055
2052
// execSync(`/usr/bin/git checkout --progress --force ${branchNameBase}`)
2056
2053
const codeCoverageOld = ( JSON . parse ( fs_1 . default . readFileSync ( 'develop-coverage-summary.json' ) . toString ( ) ) ) ;
2057
- console . log ( codeCoverageOld ) ;
2058
2054
const currentDirectory = child_process_1 . execSync ( 'pwd' )
2059
2055
. toString ( )
2060
2056
. trim ( ) ;
@@ -6753,8 +6749,7 @@ class DiffChecker {
6753
6749
this . diffCoverageReport = { } ;
6754
6750
const reportNewKeys = Object . keys ( coverageReportNew ) ;
6755
6751
const reportOldKeys = Object . keys ( coverageReportOld ) ;
6756
- // const reportKeys = new Set([...reportNewKeys, ...reportOldKeys])
6757
- const reportKeys = new Set ( [ ...reportNewKeys ] ) ;
6752
+ const reportKeys = new Set ( [ ...reportNewKeys , ...reportOldKeys ] ) ;
6758
6753
for ( const filePath of reportKeys ) {
6759
6754
this . diffCoverageReport [ filePath ] = {
6760
6755
branches : {
0 commit comments