Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add json:omitempty to Suppression fields #42

Merged
merged 1 commit into from
Feb 21, 2022

Conversation

jaspervdj-luminal
Copy link
Contributor

Thanks for this library!

I was looking at suppressions, and found that there are some optional properties.
These currently get set to null which conflicts with the format, these should be
strings or location objects if set, and omitted otherwise.

Copy link
Owner

@owenrumney owenrumney left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thanks for this @jaspervdj-luminal

@owenrumney owenrumney merged commit 38b5070 into owenrumney:main Feb 21, 2022
@owenrumney
Copy link
Owner

Hey @jaspervdj-luminal - thanks for using go-sarif, your PR is in v2.1.1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants