fixed detection output order

This commit is contained in:
DustInDark
2022-08-03 10:12:15 +09:00
parent d60ed0e62c
commit 922869fb15
2 changed files with 2 additions and 11 deletions

View File

@@ -76,7 +76,7 @@ lazy_static! {
.as_path()
.display()
));
pub static ref LEVEL_ABBR: HashMap<String, String> = HashMap::from([
pub static ref LEVEL_ABBR: LinkedHashMap<String, String> = LinkedHashMap::from_iter([
("critical".to_string(), "crit".to_string()),
("high".to_string(), "high".to_string()),
("medium".to_string(), "med ".to_string()),