fix curl cmmd

This commit is contained in:
ibrahim0814 2019-11-12 11:59:01 -08:00
parent 3e70efe265
commit 8edb23c289

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) -t ${token} -n ${name} -F ${flags} -f ${file}`
const command = `curl <(bash https://codecov.io/bash) -t ${token} -n ${name} -F ${flags} -f ${file}`
exec(command, (err, stdout, stderr) => {
if (err) {
//some err occurred