mirror of
https://github.com/ossf/scorecard.git
synced 2024-09-11 08:55:27 +03:00
🌱 Add new outcome to UnmarshalYAML (#3566)
Signed-off-by: AdamKorcz <adam@adalogics.com>
This commit is contained in:
parent
05a1eade1f
commit
8eaf0d7647
@ -276,6 +276,8 @@ func (o *Outcome) UnmarshalYAML(n *yaml.Node) error {
|
||||
*o = OutcomeNotAvailable
|
||||
case "NotSupported":
|
||||
*o = OutcomeNotSupported
|
||||
case "NotApplicable":
|
||||
*o = OutcomeNotApplicable
|
||||
case "Error":
|
||||
*o = OutcomeError
|
||||
default:
|
||||
|
Loading…
Reference in New Issue
Block a user