Skip to content

Commit

Permalink
fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
fredcarle committed Feb 12, 2023
1 parent 2aabf65 commit c6bcca3
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions connor/like.go
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@ func like(condition, data any) (bool, error) {
if cn[0] == '%' {
hasPrefix = true
cn = strings.TrimPrefix(cn, "%")

}
if cn[len(cn)-1] == '%' {
hasSuffix = true
Expand All @@ -49,7 +48,6 @@ func like(condition, data any) (bool, error) {
default:
return cn == d, nil
}

}
return false, nil
default:
Expand Down

0 comments on commit c6bcca3

Please sign in to comment.