Fix format
This commit is contained in:
parent
9d09b31602
commit
fe1c91cfa5
|
|
@ -26,7 +26,7 @@ impl fmt::Display for Author {
|
|||
pub fn get_main_author() -> Author {
|
||||
let cfg = match Repository::open_from_env() {
|
||||
Ok(repo) => repo.config().unwrap(),
|
||||
Err(_e) => Config::open_default().unwrap()
|
||||
Err(_e) => Config::open_default().unwrap(),
|
||||
};
|
||||
|
||||
let name = cfg.get_entry("user.name").unwrap();
|
||||
|
|
|
|||
Loading…
Reference in New Issue