(&self, arg: &str)
| 742 | } |
| 743 | |
| 744 | fn execute_which_in_shell(&self, arg: &str) -> Option<String> { |
| 745 | match which(arg) { |
| 746 | Ok(path) => Some(path_to_string(&path)), |
| 747 | Err(_) => None, |
| 748 | } |
| 749 | } |
| 750 | |
| 751 | fn get_first_in_vector(&self, vector: Vec<&str>) -> Option<String> { |
| 752 | if vector.is_empty() { |
no test coverage detected