mirror of
https://github.com/ScuroNeko/mtg.git
synced 2026-09-01 15:14:02 +03:00
Update to go 1.19
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) // nolint: wrapcheck
|
||||
return b.buf.Read(p) //nolint: wrapcheck
|
||||
}
|
||||
|
||||
sizeToReturn := b.buf.Len()
|
||||
|
||||
Reference in New Issue
Block a user