diff --git a/src/utils/create_project.rs b/src/utils/create_project.rs index 337c24c..48f524a 100644 --- a/src/utils/create_project.rs +++ b/src/utils/create_project.rs @@ -621,7 +621,7 @@ fn create_basic_file( ]; for (file_name, template) in &templates { - render_and_write_to_file(&handlebars, template, &data, project_path.join(file_name))?; + render_and_write_to_file(handlebars, template, &data, project_path.join(file_name))?; } //src/middleware