mirror of
https://github.com/codecov/codecov-action.git
synced 2026-04-12 17:10:05 +00:00
catch
This commit is contained in:
parent
2de41d00db
commit
d4e3df8475
2 changed files with 8 additions and 16 deletions
13
dist/index.js
vendored
13
dist/index.js
vendored
|
|
@ -34552,18 +34552,13 @@ try {
|
|||
fs.writeFileSync(filename_1, body);
|
||||
// TODO - validate step
|
||||
fs.chmodSync(filename_1, '777');
|
||||
try {
|
||||
exec.exec(filename_1, {
|
||||
stdio: ['pipe', process.stdout, process.stderr],
|
||||
});
|
||||
console.log('finished!');
|
||||
}
|
||||
catch (err) {
|
||||
exec.exec(filename_1, {
|
||||
stdio: ['pipe', process.stdout, process.stderr],
|
||||
})["catch"](function (err) {
|
||||
core.setFailed('Codecov: Failed to properly upload: ' +
|
||||
("" + err.message));
|
||||
return;
|
||||
}
|
||||
;
|
||||
});
|
||||
});
|
||||
}
|
||||
catch (err) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue