diff --git a/index.js b/index.js index 760ff2a..dce50a0 100644 --- a/index.js +++ b/index.js @@ -47,7 +47,8 @@ try { // }) - body.replace("set -e +o pipefail","") + + body = body.replace("set -e +o pipefail","") execSh([`export CODECOV_TOKEN=${token}`, body],(error, stdout, stderr) => { console.log("error: ", error);