Merge pull request #1 from ashmckenzie/ashmckenzie/fix-writer-scanner

Scan text in 64KB chunks
This commit is contained in:
Christopher Straight
2023-05-03 19:19:17 -07:00
committed by GitHub
+2 -1
View File
@@ -75,7 +75,8 @@ func (entry *Entry) writerScanner(reader *io.PipeReader, printFunc func(args ...
if len(data) > chunkSize {
return chunkSize, data[:chunkSize], nil
}
return 0, nil, nil
return len(data), data, nil
}
//Use the custom split function to split the input