Skip to content

Commit

Permalink
Make linter happy
Browse files Browse the repository at this point in the history
Signed-off-by: Marcela Melara <[email protected]>
  • Loading branch information
marcelamelara committed Aug 30, 2024
1 parent 1e4b751 commit 8dfeb09
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions scai-gen/cmd/check.go
Original file line number Diff line number Diff line change
Expand Up @@ -294,11 +294,7 @@ func isSupportedPredicateType(predicateType string) bool {
idx := slices.IndexFunc(supportedTypes, func(v string) bool {
return v == version
})

if idx > -1 {
return true
}
return false
return idx > -1
}
return false
}

0 comments on commit 8dfeb09

Please sign in to comment.