diff --git a/src/main.rs b/src/main.rs index 738e30d7..b3a4cb30 100644 --- a/src/main.rs +++ b/src/main.rs @@ -415,8 +415,19 @@ 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()) - + htmlreport::create_html_file( + html_str, + configs::CONFIG + .read() + .unwrap() + .args + .html_report + .as_ref() + .unwrap() + .to_str() + .unwrap_or("") + .to_string(), + ) } }