Skip to content

Commit

Permalink
revert where parameter is not used
Browse files Browse the repository at this point in the history
  • Loading branch information
mfederowicz committed Dec 25, 2023
1 parent 3db9ce1 commit a00e8a2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions rule/constant-logical-expr.go
Original file line number Diff line number Diff line change
Expand Up @@ -90,8 +90,8 @@ func (*lintConstantLogicalExpr) isInequalityOperator(t token.Token) bool {
return false
}

func (l lintConstantLogicalExpr) newFailure(node ast.Node, msg string) {
l.onFailure(lint.Failure{
func (w lintConstantLogicalExpr) newFailure(node ast.Node, msg string) {
w.onFailure(lint.Failure{
Confidence: 1,
Node: node,
Category: "logic",
Expand Down

0 comments on commit a00e8a2

Please sign in to comment.