Skip to content

Commit

Permalink
style: reformat code
Browse files Browse the repository at this point in the history
  • Loading branch information
iseki0 committed Oct 24, 2024
1 parent c2208bb commit 301e3a3
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions cmd/murphy/internal/common/sbom_format_flag.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ import (
"github.com/spf13/pflag"
)


type SBOMFormatFlag struct {
Valid bool
}
Expand All @@ -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
Expand Down

0 comments on commit 301e3a3

Please sign in to comment.