Skip to content

Commit

Permalink
fix: add omitempty annotation to messageStrings
Browse files Browse the repository at this point in the history
change in #63 add messageStrings to the reportingDescriptor but didn't
mark as being `omitempty`. This resolves that
  • Loading branch information
Owen Rumney committed Sep 18, 2023
1 parent a3ebc77 commit 90cce9a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion v2/sarif/reporting_descriptor.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ type ReportingDescriptor struct {
DeprecatedNames []string `json:"deprecatedNames,omitempty"`
HelpURI *string `json:"helpUri,omitempty"`
Help *MultiformatMessageString `json:"help,omitempty"`
MessageStrings *MessageStrings `json:"messageStrings"`
MessageStrings *MessageStrings `json:"messageStrings,omitempty"`
Properties Properties `json:"properties,omitempty"`
}

Expand Down

0 comments on commit 90cce9a

Please sign in to comment.