revise gitignore

This commit is contained in:
worm 2022-12-30 17:20:27 -08:00
parent 3985dc58ab
commit fb55bdcf8e
2 changed files with 1 additions and 2 deletions

1
.gitignore vendored
View file

@ -0,0 +1 @@
config.mjs

View file

@ -4,8 +4,6 @@ const default_token = process.env.TOKEN;
const default_base_url = "https://app.terraform.io";
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) => {
if(config.base_url === "") {config.base_url = default_base_url};
if(config.token === "") {config.token = default_token};