Fix path building bug
This commit is contained in:
parent
9f8a648600
commit
94e56108e8
1 changed files with 1 additions and 1 deletions
|
@ -213,7 +213,7 @@ fn fetch_config(rtp: &PathBuf) -> Result<Value> {
|
|||
let variants = vec!["config", "config.toml", "imagrc", "imagrc.toml"];
|
||||
let modifier = |base: &PathBuf, v: &'static str| {
|
||||
let mut base = base.clone();
|
||||
base.push(format!("/{}", v));
|
||||
base.push(format!("{}", v));
|
||||
base
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in a new issue