Skip to content

Commit

Permalink
chore: make linters happy
Browse files Browse the repository at this point in the history
Signed-off-by: Leonardo Di Donato <leodidonato@gmail.com>
  • Loading branch information
leodido committed Apr 3, 2024
1 parent 893b834 commit 40a2ff8
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions manifest/funcs.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ import (
)

func (s Manifest) String() string {
//nolint:gocritic // temporary single case switch
switch s {
case PackageJSON:
return string(s)
Expand All @@ -22,6 +23,7 @@ func (s Manifest) String() string {
func FromString(input string) (Manifest, error) {
s := strings.ToLower(input)

//nolint:gocritic // temporary single case switch
switch s {
case PackageJSON.String():
return PackageJSON, nil
Expand Down

0 comments on commit 40a2ff8

Please sign in to comment.