Skip to content

Commit a351ddc

Browse files
committed
fix(one): call default_data_dir() function in config_file_path
1 parent 5944ce1 commit a351ddc

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

apps/objectos-one/src-tauri/src/config.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ pub fn default_data_dir() -> PathBuf {
4141
pub fn config_file_path() -> PathBuf {
4242
let base = std::env::var("OBJECTOS_HOME")
4343
.map(PathBuf::from)
44-
.unwrap_or_else(default_data_dir);
44+
.unwrap_or_else(|_| default_data_dir());
4545
base.join(CONFIG_FILE)
4646
}
4747

0 commit comments

Comments
 (0)