minimize scope of changes by reverting change to settings.rs

This commit is contained in:
Inanna Malick
2023-08-13 14:46:09 -07:00
parent e9e362d4bd
commit 99008ac03e
2 changed files with 4 additions and 4 deletions

View File

@@ -58,7 +58,7 @@ fn main() -> Result<(), String> {
None
};
let mut settings = settings::Settings::new(settings_path)
let mut settings = settings::Settings::new(settings_path.as_ref().map(|x| x.as_os_str()))
.map_err(|e| format!("configuration is invalid: {}", e))?;
// Set config from command line