mirror of
https://github.com/TECHNOFAB11/pay-respects.git
synced 2025-12-12 06:20:09 +01:00
chore: remove duplicated executables
This commit is contained in:
parent
4d23d29dc6
commit
d9dafcc7f3
1 changed files with 2 additions and 1 deletions
|
|
@ -3,6 +3,7 @@
|
||||||
// file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
// file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
||||||
|
|
||||||
use crate::evals::find_similar;
|
use crate::evals::find_similar;
|
||||||
|
use itertools::Itertools;
|
||||||
|
|
||||||
pub fn get_path_files() -> Vec<String> {
|
pub fn get_path_files() -> Vec<String> {
|
||||||
let path_env = path_env();
|
let path_env = path_env();
|
||||||
|
|
@ -44,7 +45,7 @@ pub fn get_path_files() -> Vec<String> {
|
||||||
eprintln!("all_executable={all_executable:?}");
|
eprintln!("all_executable={all_executable:?}");
|
||||||
}
|
}
|
||||||
|
|
||||||
all_executable
|
all_executable.iter().unique().cloned().collect()
|
||||||
}
|
}
|
||||||
|
|
||||||
pub fn best_match_file(input: &str) -> Option<String> {
|
pub fn best_match_file(input: &str) -> Option<String> {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue