From 301e3a38b21615c5ad8bd30a94f25448de0bd336 Mon Sep 17 00:00:00 2001 From: iseki Date: Thu, 24 Oct 2024 11:50:08 +0800 Subject: [PATCH] style: reformat code --- cmd/murphy/internal/common/sbom_format_flag.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/cmd/murphy/internal/common/sbom_format_flag.go b/cmd/murphy/internal/common/sbom_format_flag.go index c7f5cb8..d11548d 100644 --- a/cmd/murphy/internal/common/sbom_format_flag.go +++ b/cmd/murphy/internal/common/sbom_format_flag.go @@ -5,7 +5,6 @@ import ( "github.com/spf13/pflag" ) - type SBOMFormatFlag struct { Valid bool } @@ -19,7 +18,7 @@ func (t *SBOMFormatFlag) String() string { func (t *SBOMFormatFlag) Set(s string) error { // temporary implementation - if s!="murphysec1.1+json" { + if s != "murphysec1.1+json" { return fmt.Errorf("unsupported format: %s", s) } t.Valid = true