Skip to content

Commit

Permalink
PR: Fix the nolintlint linter error
Browse files Browse the repository at this point in the history
  • Loading branch information
shahzadlone committed Sep 14, 2023
1 parent 4014dbb commit 2120765
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion errors/defraError.go
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ func (e *defraError) Error() string {
}

func (e *defraError) Is(other error) bool {
switch otherTyped := other.(type) { //nolint:errorlint
switch otherTyped := other.(type) {
case *defraError:
return e.message == otherTyped.message
default:
Expand Down

0 comments on commit 2120765

Please sign in to comment.