(&self, arg: &str)
| 721 | } |
| 722 | |
| 723 | fn execute_which_in_shell(&self, arg: &str) -> Option<String> { |
| 724 | match which(arg) { |
| 725 | Ok(path) => Some(path_to_string(&path)), |
| 726 | Err(_) => None, |
| 727 | } |
| 728 | } |
| 729 | |
| 730 | fn get_first_in_vector(&self, vector: Vec<&str>) -> Option<String> { |
| 731 | if vector.is_empty() { |
no test coverage detected