mirror of
https://github.com/sharkdp/bat.git
synced 2025-02-21 12:28:30 +00:00
Ran rust fmt
This commit is contained in:
parent
20ba84d1fa
commit
1dd57e6d7e
@ -14,9 +14,8 @@ pub fn config_file() -> PathBuf {
|
|||||||
let env_path_buf = PathBuf::from(env_path);
|
let env_path_buf = PathBuf::from(env_path);
|
||||||
if env_path_buf.is_file() {
|
if env_path_buf.is_file() {
|
||||||
return env_path_buf;
|
return env_path_buf;
|
||||||
}
|
} else {
|
||||||
else {
|
return PROJECT_DIRS.config_dir().join("config");
|
||||||
return PROJECT_DIRS.config_dir().join("config");
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
Err(_) => PROJECT_DIRS.config_dir().join("config"),
|
Err(_) => PROJECT_DIRS.config_dir().join("config"),
|
||||||
|
Loading…
x
Reference in New Issue
Block a user