File tree Expand file tree Collapse file tree 1 file changed +1
-4
lines changed Expand file tree Collapse file tree 1 file changed +1
-4
lines changed Original file line number Diff line number Diff line change @@ -14,16 +14,13 @@ impl AppSettings {
14
14
/// Finally, merge all customizations from `config_path` into the default settings.
15
15
pub fn load ( config_path : & Path ) -> Result < Self > {
16
16
// If the file on config_path does not exist, create it empty
17
-
18
- dbg ! ( & config_path) ;
19
-
20
17
if !config_path. exists ( ) {
21
18
gitbutler_fs:: create_dirs_then_write ( config_path, "{}\n " ) ?;
22
19
}
23
20
24
21
// merge customizations from disk into the defaults to get a complete set of settings.
25
22
let customizations = serde_json_lenient:: from_str ( & std:: fs:: read_to_string ( config_path) ?) ?;
26
- dbg ! ( & customizations ) ;
23
+
27
24
let mut settings: serde_json:: Value = serde_json_lenient:: from_str ( DEFAULTS ) ?;
28
25
29
26
merge_non_null_json_value ( customizations, & mut settings) ;
You can’t perform that action at this time.
0 commit comments