mirror of
https://github.com/TECHNOFAB11/pay-respects.git
synced 2025-12-12 22:40:09 +01:00
chore: appending _ to modules
This commit is contained in:
parent
06efb53f35
commit
e7e0cbac9a
8 changed files with 18 additions and 15 deletions
|
|
@ -60,9 +60,9 @@ impl Data {
|
|||
let mut modules = vec![];
|
||||
let mut fallbacks = vec![];
|
||||
for exe in path_executables {
|
||||
if exe.starts_with("pay-respects-module-") {
|
||||
if exe.starts_with("_pay-respects-module-") {
|
||||
modules.push(exe.to_string());
|
||||
} else if exe.starts_with("pay-respects-fallback-") {
|
||||
} else if exe.starts_with("_pay-respects-fallback-") {
|
||||
fallbacks.push(exe.to_string());
|
||||
} else {
|
||||
executables.push(exe.to_string());
|
||||
|
|
|
|||
|
|
@ -50,7 +50,6 @@ pub fn suggest_candidates(data: &mut Data) {
|
|||
}
|
||||
for fallback in fallbacks {
|
||||
let candidates = module_output(data, fallback);
|
||||
eprintln!("fallback: {candidates:?}");
|
||||
if candidates.is_some() {
|
||||
add_candidates_no_dup(command, &mut suggest_candidates, &candidates.unwrap());
|
||||
data.candidates = suggest_candidates;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue