fix: use a mutable variable for setting the CLI path

This commit is contained in:
Jonathan Camara 2022-04-28 08:01:34 -05:00
parent 07c30f59da
commit 155af1502d
No known key found for this signature in database
GPG key ID: E87744B8CC664ACD
2 changed files with 2 additions and 2 deletions

2
dist/index.js vendored
View file

@ -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}`)

View file

@ -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}`)