mirror of
https://github.com/hashicorp/setup-terraform.git
synced 2025-12-27 05:23:37 +00:00
fix: move extraction debug statement to more sensible location
This commit is contained in:
parent
50cae47766
commit
1a3ca02724
2 changed files with 2 additions and 2 deletions
2
dist/index.js
vendored
2
dist/index.js
vendored
|
|
@ -40,6 +40,7 @@ async function downloadCLI (url) {
|
||||||
|
|
||||||
let pathToCLI = '';
|
let pathToCLI = '';
|
||||||
|
|
||||||
|
core.debug('Extracting Terraform CLI zip file');
|
||||||
if (os.platform().startsWith('win')) {
|
if (os.platform().startsWith('win')) {
|
||||||
core.debug(`Terraform CLI Download Path is ${pathToCLIZip}`);
|
core.debug(`Terraform CLI Download Path is ${pathToCLIZip}`);
|
||||||
const fixedPathToCLIZip = `${pathToCLIZip}.zip`;
|
const fixedPathToCLIZip = `${pathToCLIZip}.zip`;
|
||||||
|
|
@ -50,7 +51,6 @@ async function downloadCLI (url) {
|
||||||
pathToCLI = await tc.extractZip(pathToCLIZip);
|
pathToCLI = await tc.extractZip(pathToCLIZip);
|
||||||
}
|
}
|
||||||
|
|
||||||
core.debug('Extracting Terraform CLI zip file');
|
|
||||||
core.debug(`Terraform CLI path is ${pathToCLI}.`);
|
core.debug(`Terraform CLI path is ${pathToCLI}.`);
|
||||||
|
|
||||||
if (!pathToCLIZip || !pathToCLI) {
|
if (!pathToCLIZip || !pathToCLI) {
|
||||||
|
|
|
||||||
|
|
@ -34,6 +34,7 @@ async function downloadCLI (url) {
|
||||||
|
|
||||||
let pathToCLI = '';
|
let pathToCLI = '';
|
||||||
|
|
||||||
|
core.debug('Extracting Terraform CLI zip file');
|
||||||
if (os.platform().startsWith('win')) {
|
if (os.platform().startsWith('win')) {
|
||||||
core.debug(`Terraform CLI Download Path is ${pathToCLIZip}`);
|
core.debug(`Terraform CLI Download Path is ${pathToCLIZip}`);
|
||||||
const fixedPathToCLIZip = `${pathToCLIZip}.zip`;
|
const fixedPathToCLIZip = `${pathToCLIZip}.zip`;
|
||||||
|
|
@ -44,7 +45,6 @@ async function downloadCLI (url) {
|
||||||
pathToCLI = await tc.extractZip(pathToCLIZip);
|
pathToCLI = await tc.extractZip(pathToCLIZip);
|
||||||
}
|
}
|
||||||
|
|
||||||
core.debug('Extracting Terraform CLI zip file');
|
|
||||||
core.debug(`Terraform CLI path is ${pathToCLI}.`);
|
core.debug(`Terraform CLI path is ${pathToCLI}.`);
|
||||||
|
|
||||||
if (!pathToCLIZip || !pathToCLI) {
|
if (!pathToCLIZip || !pathToCLI) {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue