From 1a3ca02724c999903bad6e0569f411fa4241c67a Mon Sep 17 00:00:00 2001 From: Jonathan Camara Date: Fri, 29 Apr 2022 12:07:49 -0500 Subject: [PATCH] fix: move extraction debug statement to more sensible location --- dist/index.js | 2 +- lib/setup-terraform.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/dist/index.js b/dist/index.js index e501754..283f813 100644 --- a/dist/index.js +++ b/dist/index.js @@ -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) { diff --git a/lib/setup-terraform.js b/lib/setup-terraform.js index ef0a8fb..1e61d2c 100644 --- a/lib/setup-terraform.js +++ b/lib/setup-terraform.js @@ -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) {