You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
console.log('Success! Codecov\'s API returned the correct coverage percentage, '+ process.env.CORRECT_COVERAGE)
return process.exit(0);
}
}else{
console.log('Whoops, something is wrong D: Codecov did not return the correct coverage percentage. Coverage percentage should be '+ process.env.CORRECT_COVERAGE +' but Codecov returned '+coverage_percentage)
return process.exit(1);
}
}
const napTime = (milliseconds) => {
console.log('Waiting 60 seconds for report to upload before pinging API...')
return new Promise(resolve => setTimeout(resolve, milliseconds))