Skip to content

Commit

Permalink
🌱 Add new outcome to UnmarshalYAML (ossf#3566)
Browse files Browse the repository at this point in the history
Signed-off-by: AdamKorcz <[email protected]>
Signed-off-by: Allen Shearin <[email protected]>
  • Loading branch information
AdamKorcz authored and ashearin committed Nov 13, 2023
1 parent d044da2 commit 73e8ba6
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions finding/finding.go
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 73e8ba6

Please sign in to comment.