Skip to content

Commit c774a2f

Browse files
Copilot0xrinegade
andcommitted
Make audit templates fully built-in by removing filesystem template loading
Co-authored-by: 0xrinegade <[email protected]>
1 parent 3d4459f commit c774a2f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/utils/audit_templates.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ pub struct TemplateReportGenerator {
1818
impl TemplateReportGenerator {
1919
/// Create a new template report generator
2020
pub fn new() -> Result<Self> {
21-
let mut tera = Tera::new("templates/**/*").unwrap_or_else(|_| Tera::default());
21+
let mut tera = Tera::default();
2222

2323
// Register built-in templates
2424
let typst_template = include_str!("../../templates/audit_report.typ");

0 commit comments

Comments
 (0)