From 05e14a3f084bbde35635ea2b25f1d3a7fa27bd9b Mon Sep 17 00:00:00 2001 From: ibrahim0814 Date: Tue, 12 Nov 2019 12:33:45 -0800 Subject: [PATCH] fix bash/curl pos --- index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.js b/index.js index 6a13110..cfd2554 100644 --- a/index.js +++ b/index.js @@ -22,7 +22,7 @@ try { const payload = JSON.stringify(github.context.payload, undefined, 2) console.log(`The event payload: ${payload}`); - const command = `curl <(bash https://codecov.io/bash) -t ${token} -n ${name} -F ${flags} -f ${file}` + const command = `bash <(curl https://codecov.io/bash) -t ${token} -n ${name} -F ${flags} -f ${file}` exec(command, (err, stdout, stderr) => { if (err) { //some err occurred