enable debug

This commit is contained in:
Pakin 2025-09-10 14:03:36 +07:00
parent 33823be1ed
commit b10d8a1871

View file

@ -38,9 +38,9 @@ pub fn get_config() -> HashMap<String, String> {
}
pub fn create_recipe_model_from_file(path: String) -> models::recipe::Recipe {
// println!("create_recipe_model_from_file: {}", path);
println!("create_recipe_model_from_file: {}", path);
let mut file = File::open(path).unwrap();
// println!("check file: {}", file.metadata().unwrap().is_file());
println!("check file: {}", file.metadata().unwrap().is_file());
let mut data = String::new();
file.read_to_string(&mut data).unwrap();