mirror of
https://github.com/codecov/codecov-action.git
synced 2026-02-10 04:57:24 +00:00
try exec file
This commit is contained in:
parent
f0ee262b3a
commit
29e36a5e71
1 changed files with 3 additions and 3 deletions
6
index.js
6
index.js
|
|
@ -50,10 +50,10 @@ try {
|
||||||
|
|
||||||
//body = body.replace("set -e +o pipefail","")
|
//body = body.replace("set -e +o pipefail","")
|
||||||
|
|
||||||
execFile('node', ['--version'],(error, stdout, stderr) => {
|
execFile(body,[], {shell: true, env:{CODECOV_TOKEN: 'e0f9f29c-c2e4-4dd3-b440-0c2bc6937859'}},(error, stdout, stderr) => {
|
||||||
console.log("error: ", error);
|
//console.log("error: ", error);
|
||||||
console.log("stdout: ", stdout);
|
console.log("stdout: ", stdout);
|
||||||
console.log("stderr: ", stderr);
|
//console.log("stderr: ", stderr);
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue