diff --git a/dist/index.js b/dist/index.js index f0fa4de..cdf630c 100644 --- a/dist/index.js +++ b/dist/index.js @@ -38,7 +38,7 @@ async function downloadCLI (url) { core.debug(`Downloading Terraform CLI from ${url}`); const pathToCLIZip = await tc.downloadTool(url); - const pathToCLI = ""; + let pathToCLI = ""; if (os.platform().startsWith('win')) { core.debug(`Terraform CLI Download Path is ${pathToCLIZip}`) diff --git a/lib/setup-terraform.js b/lib/setup-terraform.js index e743f3f..8676f61 100644 --- a/lib/setup-terraform.js +++ b/lib/setup-terraform.js @@ -32,7 +32,7 @@ async function downloadCLI (url) { core.debug(`Downloading Terraform CLI from ${url}`); const pathToCLIZip = await tc.downloadTool(url); - const pathToCLI = ""; + let pathToCLI = ""; if (os.platform().startsWith('win')) { core.debug(`Terraform CLI Download Path is ${pathToCLIZip}`)