mirror of
https://github.com/TECHNOFAB11/pay-respects.git
synced 2025-12-11 22:10:09 +01:00
feat: exe_contains condition
This commit is contained in:
parent
d81ee69611
commit
5b690ed7ca
6 changed files with 15 additions and 8 deletions
|
|
@ -8,6 +8,7 @@ pub fn match_pattern(executable: &str, data: &Data) -> Option<Vec<String>> {
|
|||
let last_command = &data.command;
|
||||
let executables = &data.executables;
|
||||
let mut candidates = vec![];
|
||||
let split = split_command(last_command);
|
||||
parse_rules!("rules");
|
||||
if candidates.is_empty() {
|
||||
None
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue