Skip to content

Commit

Permalink
chore: fix lint issue with SA1006
Browse files Browse the repository at this point in the history
  • Loading branch information
ryan-gang committed Sep 5, 2024
1 parent e6184a3 commit 901b740
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion protocol/decoder/real_decoder.go
Original file line number Diff line number Diff line change
Expand Up @@ -473,6 +473,6 @@ func (rd *RealDecoder) FormatDetailedError(message string) error {
lines = append(lines, receivedByteString.FormatWithHighlightedOffset(offset, "error", "Received: ", suffix))
lines = append(lines, message)

// lint:ignore SA1006 we are okay with this
//lint:ignore SA1006 we are okay with this
return fmt.Errorf(strings.Join(lines, "\n"))
}

0 comments on commit 901b740

Please sign in to comment.