mirror of
https://github.com/gitui-org/gitui
synced 2026-05-23 08:58:21 +00:00
fix new fmt check
This commit is contained in:
parent
2377924f9c
commit
11c65f633f
1 changed files with 3 additions and 1 deletions
|
|
@ -92,7 +92,9 @@ pub fn get_config_string_repo(
|
|||
// gets returned when but it actually works
|
||||
let entry_res = cfg.get_entry(key);
|
||||
|
||||
let Ok(entry) = entry_res else { return Ok(None) };
|
||||
let Ok(entry) = entry_res else {
|
||||
return Ok(None);
|
||||
};
|
||||
|
||||
if entry.has_value() {
|
||||
Ok(entry.value().map(std::string::ToString::to_string))
|
||||
|
|
|
|||
Loading…
Reference in a new issue