mirror of
https://github.com/TECHNOFAB11/pay-respects.git
synced 2025-12-11 22:10:09 +01:00
chore: skip alias duplicates
This commit is contained in:
parent
0ed23d386c
commit
d4d2d18781
1 changed files with 3 additions and 0 deletions
|
|
@ -142,6 +142,9 @@ impl Data {
|
|||
if self.alias.is_some() {
|
||||
let alias = self.alias.as_ref().unwrap();
|
||||
for command in alias.keys() {
|
||||
if self.executables.contains(command) {
|
||||
continue;
|
||||
}
|
||||
self.executables.push(command.to_string());
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue