From 96713e35386e03b917275a4ead533e2fe96ca1db Mon Sep 17 00:00:00 2001 From: Derrick Hammer Date: Fri, 22 Mar 2024 20:23:37 -0400 Subject: [PATCH] fix: always pass 0 to ReadBytes --- import/import.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/import/import.go b/import/import.go index dfc7cd8..e2e57c3 100644 --- a/import/import.go +++ b/import/import.go @@ -232,7 +232,7 @@ func (i *ImportReader) Read(p []byte) (n int, err error) { // Update cumulative bytes read i.bytesRead += uint64(n) - err = i.ReadBytes(n) + err = i.ReadBytes(0) if err != nil { return 0, err }