diff --git a/dist/index.js b/dist/index.js index 8c5167c..5058629 100644 --- a/dist/index.js +++ b/dist/index.js @@ -45,8 +45,8 @@ async function downloadCLI (url) { core.info(file); } catch (error) { - core.error(err); - throw err; + core.error(error); + throw error; } core.debug('Extracting Terraform CLI zip file'); diff --git a/lib/setup-terraform.js b/lib/setup-terraform.js index 5bfd281..aecf9ec 100644 --- a/lib/setup-terraform.js +++ b/lib/setup-terraform.js @@ -39,8 +39,8 @@ async function downloadCLI (url) { core.info(file); } catch (error) { - core.error(err); - throw err; + core.error(error); + throw error; } core.debug('Extracting Terraform CLI zip file');