mirror of
https://github.com/hashicorp/setup-terraform.git
synced 2025-12-27 13:33:37 +00:00
fix: use a mutable variable for setting the CLI path
This commit is contained in:
parent
07c30f59da
commit
155af1502d
2 changed files with 2 additions and 2 deletions
2
dist/index.js
vendored
2
dist/index.js
vendored
|
|
@ -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}`)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue