change path to full

This commit is contained in:
Pakin 2025-09-10 14:00:50 +07:00
parent 7ea8d2f967
commit d1e5386c90

View file

@ -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());
}
}