jk guys I figured it out
This commit is contained in:
parent
3c26eaeed6
commit
3985dc58ab
1
.gitignore
vendored
1
.gitignore
vendored
|
@ -1 +0,0 @@
|
|||
config.js
|
|
@ -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
|
||||
|
||||
|
|
|
@ -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};
|
||||
|
|
Loading…
Reference in a new issue