diff --git a/dist/index.js b/dist/index.js index bf58086..f5d1c54 100644 --- a/dist/index.js +++ b/dist/index.js @@ -272,7 +272,7 @@ try { const flags = core.getInput("flags"); const file = core.getInput("file"); const yml = core.getInput("yml"); - const fail_ci = core.getInput("fail_ci_if_error"); + let fail_ci = core.getInput("fail_ci_if_error"); fail_ci = fail_ci.toLowerCase(); request("https://codecov.io/bash", (error, response, body) => { diff --git a/index.js b/index.js index d92b0c2..49ca5e0 100644 --- a/index.js +++ b/index.js @@ -9,7 +9,7 @@ try { const flags = core.getInput("flags"); const file = core.getInput("file"); const yml = core.getInput("yml"); - const fail_ci = core.getInput("fail_ci_if_error"); + let fail_ci = core.getInput("fail_ci_if_error"); fail_ci = fail_ci.toLowerCase(); request("https://codecov.io/bash", (error, response, body) => {