Skip to content

Commit

Permalink
Add json:omitempty to Suppression fields (#42)
Browse files Browse the repository at this point in the history
  • Loading branch information
jaspervdj-luminal authored Feb 21, 2022
1 parent 291e936 commit 38b5070
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions sarif/suppression.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,11 @@ package sarif
// Suppression ...
type Suppression struct {
PropertyBag
Kind string `json:"kind"`
Status *string `json:"status"`
Location *Location `json:"location"`
Guid *string `json:"guid"`
Justification *string `json:"justification"`
Kind string `json:"kind,omitempty"`
Status *string `json:"status,omitempty"`
Location *Location `json:"location,omitempty"`
Guid *string `json:"guid,omitempty"`
Justification *string `json:"justification,omitempty"`
}

// NewSuppression ...
Expand Down

0 comments on commit 38b5070

Please sign in to comment.