(root string)
| 216 | } |
| 217 | |
| 218 | func LoadLegacyCommandErrorAllowlist(root string) (LegacyCommandErrorAllowlist, error) { |
| 219 | allow, _, err := LoadLegacyCommandErrorAllowlistWithDiagnostics(root) |
| 220 | return allow, err |
| 221 | } |
| 222 | |
| 223 | func LoadLegacyCommandErrorAllowlistWithDiagnostics(root string) (LegacyCommandErrorAllowlist, []Violation, error) { |
| 224 | path := filepath.Join(root, "internal", "qualitygate", "config", "allowlists", "legacy-command-errors.txt") |
nothing calls this directly
no test coverage detected