Skip to content

Commit

Permalink
🌱 Add new outcome to UnmarshalYAML (#3566)
Browse files Browse the repository at this point in the history
Signed-off-by: AdamKorcz <adam@adalogics.com>
  • Loading branch information
AdamKorcz committed Oct 12, 2023
1 parent 05a1ead commit 8eaf0d7
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 8eaf0d7

Please sign in to comment.