All test succeed: a) normal, b) top-dir, c) here, d) with default config template in working dir

This commit is contained in:
Anynomouss
2025-03-01 13:52:04 +01:00
parent 7b1144e4ec
commit b45b603382
+2 -2
View File
@@ -137,8 +137,8 @@ where
if config_file_name.exists() {
return Ok(());
}
let mut abs_path_node = get_node_path?;
// default settings are updated if no config was provided, no support for top_dir/here
let mut abs_path_node = std::env::current_dir()?;
abs_path_node.push(self.data_dir.clone());
let mut absolute_path_wallet = std::env::current_dir()?;
absolute_path_wallet.push(self.data_dir.clone());