fix: opts extra space

This commit is contained in:
iff 2024-12-07 01:51:15 +01:00
parent 22120b7616
commit 0ef6ea1ff9
6 changed files with 11 additions and 6 deletions

View file

@ -130,7 +130,7 @@ pub fn get_best_match_file(input: &str) -> Option<String> {
})
.collect::<Vec<String>>();
let best_match = find_similar(&exit_dir, &dir_files, Some(1));
let best_match = find_similar(&exit_dir, &dir_files, Some(2));
best_match.as_ref()?;
input = format!("{}/{}", input, best_match.unwrap());