mirror of
https://github.com/TECHNOFAB11/pay-respects.git
synced 2025-12-13 15:00:15 +01:00
chore: cleanup
This commit is contained in:
parent
f47bf23f6a
commit
2c7866baf2
6 changed files with 25 additions and 21 deletions
|
|
@ -284,7 +284,8 @@ pub fn expand_alias(map: &HashMap<String, String>, command: &str) -> Option<Stri
|
|||
} else {
|
||||
(command, "")
|
||||
};
|
||||
map.get(command).map(|expand| format!("{} {}", expand, args))
|
||||
map.get(command)
|
||||
.map(|expand| format!("{} {}", expand, args))
|
||||
}
|
||||
|
||||
pub fn expand_alias_multiline(map: &HashMap<String, String>, command: &str) -> Option<String> {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue