enable debug
This commit is contained in:
parent
33823be1ed
commit
b10d8a1871
1 changed files with 2 additions and 2 deletions
|
|
@ -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();
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue