mirror of
https://github.com/codecov/codecov-action.git
synced 2026-02-10 21:17:24 +00:00
fix bash/curl pos
This commit is contained in:
parent
8edb23c289
commit
05e14a3f08
1 changed files with 1 additions and 1 deletions
2
index.js
2
index.js
|
|
@ -22,7 +22,7 @@ try {
|
||||||
const payload = JSON.stringify(github.context.payload, undefined, 2)
|
const payload = JSON.stringify(github.context.payload, undefined, 2)
|
||||||
console.log(`The event payload: ${payload}`);
|
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) => {
|
exec(command, (err, stdout, stderr) => {
|
||||||
if (err) {
|
if (err) {
|
||||||
//some err occurred
|
//some err occurred
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue