mirror of
https://github.com/TECHNOFAB11/pay-respects.git
synced 2025-12-12 22:40:09 +01:00
docs: AI configuration
This commit is contained in:
parent
c9b9af1728
commit
c354fe014e
4 changed files with 80 additions and 19 deletions
|
|
@ -19,9 +19,7 @@ pub fn runtime_match(
|
|||
shell: &str,
|
||||
) -> Option<String> {
|
||||
let file = get_rule(executable);
|
||||
if file.is_none() {
|
||||
return None;
|
||||
}
|
||||
file.as_ref()?;
|
||||
|
||||
let file = std::fs::read_to_string(file.unwrap()).unwrap();
|
||||
let rule: Rule = toml::from_str(&file).unwrap();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue