diff --git a/cmd/cosign/cli/download/sbom.go b/cmd/cosign/cli/download/sbom.go index ba6208c704d..82f107c263e 100644 --- a/cmd/cosign/cli/download/sbom.go +++ b/cmd/cosign/cli/download/sbom.go @@ -62,7 +62,7 @@ func SBOMCmd(ctx context.Context, regOpts options.RegistryOptions, imageRef stri } sboms = append(sboms, string(sbom)) - fmt.Fprintln(out, string(sbom)) + fmt.Fprint(out, string(sbom)) return sboms, nil }