mirror of
https://github.com/anchore/syft.git
synced 2026-11-03 07:56:36 +01:00
Fix github-json output option (#967)
* Fix "bad output format" for `github-json` output Signed-off-by: Steven Maude <git@stevenmaude.co.uk> * Update formats in README Signed-off-by: Steven Maude <git@stevenmaude.co.uk> * Run `make lint-fix` Signed-off-by: Steven Maude <git@stevenmaude.co.uk>
This commit is contained in:
+1
-1
@@ -74,7 +74,7 @@ func FormatByName(name string) sbom.Format {
|
||||
return FormatByID(cyclonedxxml.ID)
|
||||
case "cyclonedxjson":
|
||||
return FormatByID(cyclonedxjson.ID)
|
||||
case "github":
|
||||
case "github", "githubjson":
|
||||
return FormatByID(github.ID)
|
||||
case "spdx", "spdxtv", "spdxtagvalue":
|
||||
return FormatByID(spdx22tagvalue.ID)
|
||||
|
||||
Reference in New Issue
Block a user