fix(report): change github format version to required (#2229)

This commit is contained in:
Shira Cohen
2022-06-01 15:39:40 +03:00
committed by GitHub
parent d3a73e4db7
commit f982167c0a
2 changed files with 2 additions and 1 deletions

View File

@@ -55,7 +55,7 @@ type Detector struct {
}
type DependencySnapshot struct {
Version int `json:"version,omitempty"`
Version int `json:"version"`
Detector Detector `json:"detector"`
Metadata Metadata `json:"metadata,omitempty"`
Ref string `json:"ref,omitempty"`