fix bash/curl pos

This commit is contained in:
ibrahim0814 2019-11-12 12:33:45 -08:00
parent 8edb23c289
commit 05e14a3f08

View file

@ -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