retrieving node dir from config and create new file when dir is empty

This commit is contained in:
2023-06-23 10:47:43 -04:00
parent 145905066c
commit 02ed04fad5
3 changed files with 46 additions and 14 deletions

View File

@@ -59,7 +59,6 @@ impl Config {
home_cfg.push(format!(".{}", cfg_name));
let mut pwd_cfg = PathBuf::from(pwd.clone());
pwd_cfg.push(cfg_name);
pwd_cfg.push(format!(".{}", cfg_name));
Ok(vec![home_config_cfg, home_cfg, pwd_cfg])