forked from extern/nushell
Fix external extra (#4777)
* Fix empty table from externals * Fix empty table from externals
This commit is contained in:
@ -18,7 +18,11 @@ pub fn print_pipeline_data(
|
||||
|
||||
let stdout = std::io::stdout();
|
||||
|
||||
if let PipelineData::ExternalStream { stdout: stream, .. } = input {
|
||||
if let PipelineData::ExternalStream {
|
||||
stdout: Some(stream),
|
||||
..
|
||||
} = input
|
||||
{
|
||||
for s in stream {
|
||||
let _ = stdout.lock().write_all(s?.as_binary()?);
|
||||
}
|
||||
|
Reference in New Issue
Block a user