diff --git a/index.js b/index.js index eb29489..8cabd3a 100644 --- a/index.js +++ b/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); });