mirror of
https://github.com/TECHNOFAB11/pay-respects.git
synced 2025-12-11 22:10:09 +01:00
fix: escape spaces when matching files
This commit is contained in:
parent
2a5fa8a950
commit
a193a86a5f
1 changed files with 1 additions and 1 deletions
|
|
@ -42,7 +42,7 @@ pub fn get_best_match_file(input: &str) -> Option<String> {
|
|||
.map(|file| {
|
||||
let file = file.unwrap();
|
||||
|
||||
file.file_name().into_string().unwrap()
|
||||
file.file_name().into_string().unwrap().replace(" ", "\\ ")
|
||||
})
|
||||
.collect::<Vec<String>>();
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue