Show which registry hives are OK in summary

This commit is contained in:
2Shirt 2025-06-13 19:00:04 -07:00
parent 561d57d9a2
commit 185ddf3103
Signed by: 2Shirt
GPG key ID: 152FAC923B0E132C

View file

@ -425,7 +425,17 @@ pub fn parse_registry_hives(
diag_group.result = String::from("OK");
diag_group.logs.push(Log {
label: String::from("Registry"),
summary: Vec::new(),
summary: if hive.is_some() {
vec![DVLine {
line_parts: vec![
format!("Registry ({}): ", hive.unwrap()),
String::from("OK"),
],
line_colors: vec![Color::Reset, Color::Green],
}]
} else {
Vec::new()
},
raw: output_text,
});
} else {