Skip to content
Snippets Groups Projects
Commit 9b60f33a authored by Éloïs's avatar Éloïs
Browse files

mod(conf): change modules conf extension file to .json

parent ce0cb755
No related branches found
No related tags found
No related merge requests found
...@@ -110,12 +110,12 @@ fn find_module_conf_file_path( ...@@ -110,12 +110,12 @@ fn find_module_conf_file_path(
if !path.exists() { if !path.exists() {
std::fs::create_dir(&path)?; std::fs::create_dir(&path)?;
} }
Ok(path.join(format!("{}.conf", module_name))) Ok(path.join(format!("{}.json", module_name)))
} else { } else {
let path = profile_path.join(MODULES_CONF_PATH); let path = profile_path.join(MODULES_CONF_PATH);
if !path.exists() { if !path.exists() {
std::fs::create_dir(&path)?; std::fs::create_dir(&path)?;
} }
Ok(path.join(format!("{}.conf", module_name))) Ok(path.join(format!("{}.json", module_name)))
} }
} }
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment