fix: move extraction debug statement to more sensible location

This commit is contained in:
Jonathan Camara 2022-04-29 12:07:49 -05:00
parent 50cae47766
commit 1a3ca02724
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

@ -40,6 +40,7 @@ async function downloadCLI (url) {
let pathToCLI = '';
core.debug('Extracting Terraform CLI zip file');
if (os.platform().startsWith('win')) {
core.debug(`Terraform CLI Download Path is ${pathToCLIZip}`);
const fixedPathToCLIZip = `${pathToCLIZip}.zip`;
@ -50,7 +51,6 @@ async function downloadCLI (url) {
pathToCLI = await tc.extractZip(pathToCLIZip);
}
core.debug('Extracting Terraform CLI zip file');
core.debug(`Terraform CLI path is ${pathToCLI}.`);
if (!pathToCLIZip || !pathToCLI) {

View file

@ -34,6 +34,7 @@ async function downloadCLI (url) {
let pathToCLI = '';
core.debug('Extracting Terraform CLI zip file');
if (os.platform().startsWith('win')) {
core.debug(`Terraform CLI Download Path is ${pathToCLIZip}`);
const fixedPathToCLIZip = `${pathToCLIZip}.zip`;
@ -44,7 +45,6 @@ async function downloadCLI (url) {
pathToCLI = await tc.extractZip(pathToCLIZip);
}
core.debug('Extracting Terraform CLI zip file');
core.debug(`Terraform CLI path is ${pathToCLI}.`);
if (!pathToCLIZip || !pathToCLI) {