- moving cpus to string to allow for env vars and other config options besides hardcoded floats
This commit is contained in:
2025-11-11 23:44:38 -05:00
parent 9cddc4c83e
commit 8b03056977
3 changed files with 34 additions and 24 deletions

View File

@@ -28,3 +28,13 @@ func (i *Issue) Fatal() {
i.Level = FATAL
i.Safe = false
}
func (i *Issue) Serious() {
if i.Level == FATAL {
return
} else if i.Level == WARNING {
i.Level = FATAL
} else if i.Level == PASSED {
i.Level = WARNING
}
}