mirror of
https://github.com/codecov/codecov-action.git
synced 2026-02-08 03:57:26 +00:00
output
This commit is contained in:
parent
dd61d9f90b
commit
1259587051
1 changed files with 10 additions and 2 deletions
12
index.js
12
index.js
|
|
@ -47,12 +47,20 @@ try {
|
|||
|
||||
// })
|
||||
|
||||
|
||||
bodyCopy = body
|
||||
body = body.split("\n").slice(8).join("\n")
|
||||
|
||||
|
||||
execFile(bodyCopy,[], {shell: true, env:{CODECOV_TOKEN: 'e0f9f29c-c2e4-4dd3-b440-0c2bc6937859'}},(error, stdout, stderr) => {
|
||||
//console.log("error: ", error);
|
||||
console.log('using original')
|
||||
console.log("stdout: ", stdout);
|
||||
console.log("stderr: ", 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('using spliced')
|
||||
console.log("stdout: ", stdout);
|
||||
console.log("stderr: ", stderr);
|
||||
});
|
||||
|
|
|
|||
Loading…
Reference in a new issue