mirror of
https://github.com/codecov/codecov-action.git
synced 2026-04-12 17:10:05 +00:00
Add a catch
This commit is contained in:
parent
bc1a058725
commit
da5e21fd61
2 changed files with 13 additions and 4 deletions
10
src/index.ts
10
src/index.ts
|
|
@ -27,8 +27,14 @@ console.log('wrote it');
|
|||
fs.chmodSync(filename, '700');
|
||||
|
||||
console.log('Did it');
|
||||
console.log(fs.readdirSync('.'));
|
||||
console.log(fs.readdirSync(__dirname));
|
||||
console.log('files');
|
||||
console.log(__dirname);
|
||||
|
||||
exec.exec(filename);
|
||||
exec
|
||||
.exec(filename)
|
||||
.catch((err) => {
|
||||
core.setFailed(
|
||||
`Codecov: Could not properly execute uploader binary: ${err.message}`,
|
||||
);
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue