provisoiner/shell: append only needs to add a byte for UnixReader
This commit is contained in:
parent
936a00a600
commit
f673ca52ba
|
@ -57,5 +57,5 @@ func scanUnixLine(data []byte, atEOF bool) (advance int, token []byte, err error
|
|||
if advance == 0 {
|
||||
return
|
||||
}
|
||||
return advance, append(token, "\n"...), err
|
||||
return advance, append(token, '\n'), err
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue