mirror of
https://github.com/codecov/codecov-action.git
synced 2026-04-12 17:10:05 +00:00
err
This commit is contained in:
parent
0265d84c48
commit
2fbba1522b
2 changed files with 4 additions and 4 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue