mirror of
https://github.com/codecov/codecov-action.git
synced 2025-12-09 12:26:24 +00:00
output
This commit is contained in:
12
index.js
12
index.js
@@ -47,12 +47,20 @@ try {
|
|||||||
|
|
||||||
// })
|
// })
|
||||||
|
|
||||||
|
bodyCopy = body
|
||||||
body = body.split("\n").slice(8).join("\n")
|
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) => {
|
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("stdout: ", stdout);
|
||||||
console.log("stderr: ", stderr);
|
console.log("stderr: ", stderr);
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user