fix unclosed '(' in settings.rs
Some checks failed
Build and publish the docker image / build (push) Failing after 12s
Some checks failed
Build and publish the docker image / build (push) Failing after 12s
Signed-off-by: ngn <ngn@ngn.tf>
This commit is contained in:
parent
e35f0fa00b
commit
0cc19bf98d
@ -43,7 +43,7 @@ impl Settings {
|
||||
if let Ok(path) = env::var("LIBMEDIUM") {
|
||||
s = s.add_source(File::with_name(&path));
|
||||
} else if Path::new("./config.toml").exists() {
|
||||
s = s.add_source(File::with_name("./config.toml");
|
||||
s = s.add_source(File::with_name("./config.toml"));
|
||||
} else {
|
||||
log::warn!("configuration file not found");
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user