revise gitignore
This commit is contained in:
parent
3985dc58ab
commit
fb55bdcf8e
1
.gitignore
vendored
1
.gitignore
vendored
|
@ -0,0 +1 @@
|
||||||
|
config.mjs
|
|
@ -4,8 +4,6 @@ const default_token = process.env.TOKEN;
|
||||||
const default_base_url = "https://app.terraform.io";
|
const default_base_url = "https://app.terraform.io";
|
||||||
const default_download_dir = process.cwd();
|
const default_download_dir = process.cwd();
|
||||||
|
|
||||||
console.log(`Current directory is ${default_download_dir}`);
|
|
||||||
|
|
||||||
const normalize_configs = async (default_token, default_base_url, default_download_dir) => {
|
const normalize_configs = async (default_token, default_base_url, default_download_dir) => {
|
||||||
if(config.base_url === "") {config.base_url = default_base_url};
|
if(config.base_url === "") {config.base_url = default_base_url};
|
||||||
if(config.token === "") {config.token = default_token};
|
if(config.token === "") {config.token = default_token};
|
||||||
|
|
Loading…
Reference in a new issue