mirror of
https://github.com/TECHNOFAB11/pay-respects.git
synced 2025-12-12 06:20:09 +01:00
chore: deperiotize pr_privilege
This commit is contained in:
parent
f452f7196f
commit
d339923354
1 changed files with 5 additions and 5 deletions
|
|
@ -52,17 +52,17 @@ pub fn suggest_candidates(data: &mut Data) {
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
if privilege.is_none() {
|
|
||||||
if let Some(candidates) = match_pattern("_PR_privilege", data) {
|
|
||||||
add_candidates_no_dup(command, &mut suggest_candidates, &candidates);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
if let Some(candidates) = match_pattern(executable, data) {
|
if let Some(candidates) = match_pattern(executable, data) {
|
||||||
add_candidates_no_dup(command, &mut suggest_candidates, &candidates);
|
add_candidates_no_dup(command, &mut suggest_candidates, &candidates);
|
||||||
}
|
}
|
||||||
if let Some(candidates) = match_pattern("_PR_general", data) {
|
if let Some(candidates) = match_pattern("_PR_general", data) {
|
||||||
add_candidates_no_dup(command, &mut suggest_candidates, &candidates);
|
add_candidates_no_dup(command, &mut suggest_candidates, &candidates);
|
||||||
}
|
}
|
||||||
|
if privilege.is_none() {
|
||||||
|
if let Some(candidates) = match_pattern("_PR_privilege", data) {
|
||||||
|
add_candidates_no_dup(command, &mut suggest_candidates, &candidates);
|
||||||
|
}
|
||||||
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
if !module_candidates.is_empty() {
|
if !module_candidates.is_empty() {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue