mirror of
https://github.com/codecov/codecov-action.git
synced 2026-02-09 20:47:26 +00:00
remove pipe
This commit is contained in:
parent
d4e3df8475
commit
f4d4c99f20
2 changed files with 2 additions and 6 deletions
4
dist/index.js
vendored
4
dist/index.js
vendored
|
|
@ -34552,9 +34552,7 @@ try {
|
|||
fs.writeFileSync(filename_1, body);
|
||||
// TODO - validate step
|
||||
fs.chmodSync(filename_1, '777');
|
||||
exec.exec(filename_1, {
|
||||
stdio: ['pipe', process.stdout, process.stderr],
|
||||
})["catch"](function (err) {
|
||||
exec.exec(filename_1)["catch"](function (err) {
|
||||
core.setFailed('Codecov: Failed to properly upload: ' +
|
||||
("" + err.message));
|
||||
return;
|
||||
|
|
|
|||
|
|
@ -25,9 +25,7 @@ try {
|
|||
// TODO - validate step
|
||||
fs.chmodSync(filename, '777');
|
||||
|
||||
exec.exec(filename, {
|
||||
stdio: ['pipe', process.stdout, process.stderr],
|
||||
}).catch((err) => {
|
||||
exec.exec(filename).catch((err) => {
|
||||
core.setFailed(
|
||||
'Codecov: Failed to properly upload: ' +
|
||||
`${err.message}`,
|
||||
|
|
|
|||
Loading…
Reference in a new issue