Skip to content

Commit 105e63f

Browse files
authored
Merge pull request #1 from ashmckenzie/ashmckenzie/fix-writer-scanner
Scan text in 64KB chunks
2 parents 766cfec + c052ba6 commit 105e63f

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Diff for: writer.go

+2-1
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,8 @@ func (entry *Entry) writerScanner(reader *io.PipeReader, printFunc func(args ...
7575
if len(data) > chunkSize {
7676
return chunkSize, data[:chunkSize], nil
7777
}
78-
return 0, nil, nil
78+
79+
return len(data), data, nil
7980
}
8081

8182
//Use the custom split function to split the input

0 commit comments

Comments
 (0)