(message: &str)
| 623 | } |
| 624 | |
| 625 | fn is_missing_config_path_error(message: &str) -> bool { |
| 626 | let lower = message.to_ascii_lowercase(); |
| 627 | if lower.contains("missing required argument 'path'") { |
| 628 | return false; |
| 629 | } |
| 630 | lower.contains("path not found") |
| 631 | || lower.contains("not found") |
| 632 | || lower.contains("does not exist") |
| 633 | || lower.contains("missing key") |
| 634 | || lower.contains("missing path") |
| 635 | } |
| 636 | |
| 637 | fn nested_value_or_empty_object(json: &Value, path: &[&str]) -> Value { |
| 638 | let mut current = json; |
no outgoing calls
no test coverage detected