added html output processing #689

This commit is contained in:
DastInDark
2022-09-25 15:15:58 +09:00
parent a379b3c077
commit c41206accd
+5
View File
@@ -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"))]