From 9b60f33a9ae963b275afdc427af3031f2fb4e4b7 Mon Sep 17 00:00:00 2001 From: librelois <c@elo.tf> Date: Mon, 17 May 2021 18:38:34 +0200 Subject: [PATCH] mod(conf): change modules conf extension file to .json --- conf/src/lib.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/conf/src/lib.rs b/conf/src/lib.rs index 77de2fa..4056696 100644 --- a/conf/src/lib.rs +++ b/conf/src/lib.rs @@ -110,12 +110,12 @@ fn find_module_conf_file_path( if !path.exists() { std::fs::create_dir(&path)?; } - Ok(path.join(format!("{}.conf", module_name))) + Ok(path.join(format!("{}.json", module_name))) } else { let path = profile_path.join(MODULES_CONF_PATH); if !path.exists() { std::fs::create_dir(&path)?; } - Ok(path.join(format!("{}.conf", module_name))) + Ok(path.join(format!("{}.json", module_name))) } } -- GitLab