Not exploding when grin.toml file isn't found (#164)

This commit is contained in:
Yeastplume 2017-10-10 18:28:33 +01:00 committed by Ignotus Peverell
parent 9310151680
commit d0160811dd

View file

@ -96,7 +96,7 @@ impl GlobalConfig {
if let Some(fp) = file_path {
return_value.config_file_path = Some(PathBuf::from(&fp));
} else {
return_value.derive_config_location().unwrap();
let _result=return_value.derive_config_location();
}
// No attempt at a config file, just return defaults