minimize scope of changes by reverting change to settings.rs
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user