mirror of
https://github.com/TECHNOFAB11/pay-respects.git
synced 2025-12-13 23:03:55 +01:00
fix: modules
This commit is contained in:
parent
5aebf867c1
commit
fedee1dc8d
12 changed files with 54 additions and 39 deletions
|
|
@ -13,7 +13,7 @@ struct MatchError {
|
|||
}
|
||||
|
||||
pub fn runtime_match(
|
||||
executable: &str,
|
||||
executable: &str,
|
||||
shell: &str,
|
||||
last_command: &str,
|
||||
error_msg: &str,
|
||||
|
|
@ -83,16 +83,11 @@ pub fn runtime_match(
|
|||
if pure_suggest.contains("{{command}}") {
|
||||
pure_suggest = pure_suggest.replace("{{command}}", last_command);
|
||||
}
|
||||
print!("{}",
|
||||
eval_suggest(
|
||||
&pure_suggest,
|
||||
last_command,
|
||||
error_msg,
|
||||
executables,
|
||||
shell,
|
||||
)
|
||||
print!(
|
||||
"{}",
|
||||
eval_suggest(&pure_suggest, last_command, error_msg, executables, shell,)
|
||||
);
|
||||
print!("{}", "<_PR_BR>");
|
||||
print!("<_PR_BR>");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -194,4 +189,3 @@ fn get_rule(executable: &str) -> Option<String> {
|
|||
|
||||
None
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue