This commit is contained in:
Tom Hu 2021-07-07 17:26:00 -07:00
parent 0265d84c48
commit 2fbba1522b
No known key found for this signature in database
GPG key ID: F7E832BD316D5603
2 changed files with 4 additions and 4 deletions

View file

@ -14,8 +14,8 @@ try {
request.get('https://uploader.codecov.io/latest/codecov-linux', (err, res, body) => {
if (err || !res.ok) {
core.setFailed(
'Codecov: Could not properly download uploader binary: ' +
`${err.message}`,
'Codecov: Could not properly download uploader binary' +
err ? `: ${err.message}` : '',
);
}
fs.writeFileSync(res.body, filename);