Skip to content

Commit

Permalink
remove unnecessary nil check in Debug filter
Browse files Browse the repository at this point in the history
  • Loading branch information
srlehn authored Nov 2, 2020
1 parent c60f88d commit 352bcd1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion filter.go
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ func FilterCookie(cookie *Cookie, filters ...Filter) bool {
// Position Debug after the filter you want to test.
var Debug Filter = func(cookie *Cookie) bool {
fmt.Printf("%+#v\n", cookie)
return cookie != nil && true
return true
}

// domain filters
Expand Down

0 comments on commit 352bcd1

Please sign in to comment.