mirror of
https://github.com/codecov/codecov-action.git
synced 2026-02-09 20:47:26 +00:00
try with spawn and stdio
This commit is contained in:
parent
0ef06c1065
commit
5a763c2508
2 changed files with 6 additions and 2 deletions
4
dist/index.js
vendored
4
dist/index.js
vendored
|
|
@ -33270,7 +33270,9 @@ try {
|
|||
fs.writeFileSync(filename_1, body);
|
||||
fs.chmodSync(filename_1, '777');
|
||||
try {
|
||||
childProcess.execFileSync(filename_1);
|
||||
childProcess.spawnSync(filename_1, {
|
||||
stdio: ['pipe', process.stdout, process.stderr],
|
||||
});
|
||||
console.log('finished!');
|
||||
}
|
||||
catch (err) {
|
||||
|
|
|
|||
|
|
@ -26,7 +26,9 @@ try {
|
|||
fs.chmodSync(filename, '777');
|
||||
|
||||
try {
|
||||
childProcess.execFileSync(filename);
|
||||
childProcess.spawnSync(filename, {
|
||||
stdio: ['pipe', process.stdout, process.stderr],
|
||||
});
|
||||
console.log('finished!');
|
||||
} catch (err) {
|
||||
core.setFailed(
|
||||
|
|
|
|||
Loading…
Reference in a new issue