mirror of
https://github.com/codecov/codecov-action.git
synced 2026-04-12 17:10:05 +00:00
execFile
This commit is contained in:
parent
112e1a0afd
commit
ef56160684
3 changed files with 14 additions and 15 deletions
9
dist/index.js
vendored
9
dist/index.js
vendored
|
|
@ -33274,10 +33274,11 @@ try {
|
|||
console.log('file does not exist');
|
||||
}
|
||||
console.log(fs.statSync(filename_1));
|
||||
childProcess.execFile(filename_1)["catch"](function (err) {
|
||||
core.setFailed("Codecov failed with the following error: " + err.message);
|
||||
})
|
||||
.then(function () {
|
||||
childProcess.execFile(filename_1, function (err) {
|
||||
if (err) {
|
||||
core.setFailed('Codecov: Failed to properly upload: ' +
|
||||
("" + err.message));
|
||||
}
|
||||
console.log('finished!');
|
||||
});
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue