We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5944ce1 commit a351ddcCopy full SHA for a351ddc
1 file changed
apps/objectos-one/src-tauri/src/config.rs
@@ -41,7 +41,7 @@ pub fn default_data_dir() -> PathBuf {
41
pub fn config_file_path() -> PathBuf {
42
let base = std::env::var("OBJECTOS_HOME")
43
.map(PathBuf::from)
44
- .unwrap_or_else(default_data_dir);
+ .unwrap_or_else(|_| default_data_dir());
45
base.join(CONFIG_FILE)
46
}
47
0 commit comments