Skip to content

Commit

Permalink
style(logic): make linter happy
Browse files Browse the repository at this point in the history
  • Loading branch information
ccamel authored and amimart committed Oct 19, 2023
1 parent 908f714 commit a82c779
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions x/logic/predicate/uri.go
Original file line number Diff line number Diff line change
Expand Up @@ -52,8 +52,6 @@ func NewComponent(v string) (Component, error) {
// Here some reported issues on golang about the RFC non-compliance.
// - golang.org/issue/5684.
// - https://github.com/golang/go/issues/27559
//
//nolint:gocognit
func shouldEscape(c byte, comp Component) bool {
// §2.3 Unreserved characters (alphanum)
if 'a' <= c && c <= 'z' || 'A' <= c && c <= 'Z' || '0' <= c && c <= '9' {
Expand Down

0 comments on commit a82c779

Please sign in to comment.