diff options
Diffstat (limited to '')
-rw-r--r-- | src/config/file_system.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/config/file_system.rs b/src/config/file_system.rs index b89c1fe..396b854 100644 --- a/src/config/file_system.rs +++ b/src/config/file_system.rs @@ -83,7 +83,7 @@ impl Config { .map(|val| Ok(val)) .unwrap_or_else(|| -> Result<_> { paths::config_path() })?; - let config: Table = read_to_string(config_file_path)? + let config: Table = read_to_string(config_file_path).unwrap_or("".to_owned()) .parse() .context("Failed to parse the config file as toml")?; |