Merge pull request #663 from fukusuket/fix-console-output-colored-by-detection-level

fix: Detection result records(crit,med,low level) not colored
This commit is contained in:
DustInDark
2022-08-19 05:16:33 +09:00
committed by GitHub

View File

@@ -221,7 +221,7 @@ fn emit_csv<W: std::io::Write>(
&disp_wtr,
get_writable_color(_get_output_color(
&color_map,
LEVEL_ABBR
LEVEL_FULL
.get(&detect_info.level)
.unwrap_or(&String::default()),
)),