This commit is contained in:
TsMask committed 2023-08-22 19:25:39 +08:00
1 parent 38d3b7450e
commit 96de169777
45 files changed
+881 -676

No files matched your search

+16
View File
@@ -0,0 +1,16 @@
package emun
func OrigSeverity(os string) int32 {
switch os {
case "Critical":
return 1
case "Major":
return 2
case "Minor":
return 3
case "Warning":
return 4
default:
return 0
}
}