diff --git a/src/main.rs b/src/main.rs index f8cf65fa..738e30d7 100644 --- a/src/main.rs +++ b/src/main.rs @@ -413,6 +413,11 @@ impl App { }); } } + if configs::CONFIG.read().unwrap().args.html_report.is_some() { + let html_str = HTML_REPORTER.read().unwrap().clone().create_html(); + htmlreport::create_html_file(html_str, configs::CONFIG.read().unwrap().args.html_report.as_ref().unwrap().to_str().unwrap_or("").to_string()) + + } } #[cfg(not(target_os = "windows"))]