mirror of
https://github.com/ScuroNeko/mtg.git
synced 2026-09-02 00:11:56 +03:00
Upgrade golangci-lint for 1.42
This commit is contained in:
@@ -33,7 +33,7 @@ func (b *bufferedReader) ReadTimeout(p []byte, _ time.Duration) (int, error) {
|
||||
|
||||
func (b *bufferedReader) flush(p []byte) (int, error) {
|
||||
if b.buf.Len() > len(p) {
|
||||
return b.buf.Read(p)
|
||||
return b.buf.Read(p) // nolint: wrapcheck
|
||||
}
|
||||
|
||||
sizeToReturn := b.buf.Len()
|
||||
|
||||
Reference in New Issue
Block a user