change path to full
This commit is contained in:
parent
7ea8d2f967
commit
d1e5386c90
1 changed files with 1 additions and 1 deletions
|
|
@ -74,7 +74,7 @@ pub fn get_all_files_in_directory(directory_path: &str) -> Vec<String> {
|
|||
let entry = entry.unwrap();
|
||||
let path = entry.path();
|
||||
if path.is_file() {
|
||||
files.push(path.to_string_lossy().into_owned());
|
||||
files.push(path.as_os_str().to_str().unwrap().to_string());
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue