From cf0e744e2cd9723784023f9bb07ecf6c53effeda Mon Sep 17 00:00:00 2001 From: ibrahim0814 Date: Thu, 5 Dec 2019 01:20:56 -0800 Subject: [PATCH] const to let --- dist/index.js | 2 +- index.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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) => {