From 3985dc58ab146343f15da99d49aa712c098565bd Mon Sep 17 00:00:00 2001 From: worm Date: Fri, 30 Dec 2022 17:19:19 -0800 Subject: [PATCH] jk guys I figured it out --- .gitignore | 1 - config.mjs | 2 +- normalize-config.js | 1 - 3 files changed, 1 insertion(+), 3 deletions(-) diff --git a/.gitignore b/.gitignore index 1bf4259..e69de29 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +0,0 @@ -config.js diff --git a/config.mjs b/config.mjs index ad59ce9..c05e817 100644 --- a/config.mjs +++ b/config.mjs @@ -1,5 +1,5 @@ // These parameters are all optional. -// token will use the environment $TOKEN if unspecified +// token will use the environment $TOKEN (must be exported) if unspecified // downloadDir will use the current directory if unspecified // base_url will use app.terraform.io if unspecified diff --git a/normalize-config.js b/normalize-config.js index 774c0c1..517521e 100644 --- a/normalize-config.js +++ b/normalize-config.js @@ -5,7 +5,6 @@ const default_base_url = "https://app.terraform.io"; const default_download_dir = process.cwd(); console.log(`Current directory is ${default_download_dir}`); -console.log(process.env); const normalize_configs = async (default_token, default_base_url, default_download_dir) => { if(config.base_url === "") {config.base_url = default_base_url};