From d1e5386c90dee878d555123c0a73a386ad6b47bc Mon Sep 17 00:00:00 2001 From: Pakin Date: Wed, 10 Sep 2025 14:00:50 +0700 Subject: [PATCH] change path to full --- src/recipe_functions/common.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/recipe_functions/common.rs b/src/recipe_functions/common.rs index e811575..55539ce 100644 --- a/src/recipe_functions/common.rs +++ b/src/recipe_functions/common.rs @@ -74,7 +74,7 @@ pub fn get_all_files_in_directory(directory_path: &str) -> Vec { 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()); } }