fixes issue with docker runner - short write error

pull/16/head
Eoin McAfee 3 years ago
parent e6109dd869
commit 00237bc530

@ -27,6 +27,7 @@ func (e *Writer) Write(p []byte) (n int, err error) {
if bytes.HasPrefix(p, prefix) == false && e.chunked == false {
return e.base.Write(p)
}
n = len(p)
// if the data does not include the ansi suffix,
// it exceeds the size of the buffer and is chunked.

Loading…
Cancel
Save