Fix a bad slice into erroring utf-8 buffer (#872)

This commit is contained in:
JT
2022-01-28 15:32:46 -05:00
committed by GitHub
parent 020ad24b25
commit 86eeb4a5e7
8 changed files with 44 additions and 19 deletions

View File

@ -243,7 +243,7 @@ impl ExternalCommand {
let receiver = ChannelReceiver::new(rx);
Ok(PipelineData::RawStream(
RawStream::new(Box::new(receiver), output_ctrlc),
RawStream::new(Box::new(receiver), output_ctrlc, head),
head,
None,
))