mirror of
https://github.com/nushell/nushell.git
synced 2025-08-10 10:08:21 +02:00
Improve external output in subexprs (#294)
This commit is contained in:
@ -70,7 +70,7 @@ prints out the list properly."#
|
||||
separator_param,
|
||||
))
|
||||
} else {
|
||||
Ok(PipelineData::new())
|
||||
Ok(PipelineData::new(call.head))
|
||||
}
|
||||
}
|
||||
PipelineData::Stream(stream) => {
|
||||
@ -86,7 +86,7 @@ prints out the list properly."#
|
||||
))
|
||||
} else {
|
||||
// dbg!(data);
|
||||
Ok(PipelineData::new())
|
||||
Ok(PipelineData::new(call.head))
|
||||
}
|
||||
}
|
||||
PipelineData::Value(Value::Record { cols, vals, .. }) => {
|
||||
|
@ -48,7 +48,7 @@ impl Command for Table {
|
||||
}
|
||||
.into_pipeline_data())
|
||||
} else {
|
||||
Ok(PipelineData::new())
|
||||
Ok(PipelineData::new(call.head))
|
||||
}
|
||||
}
|
||||
PipelineData::Stream(stream) => {
|
||||
@ -63,7 +63,7 @@ impl Command for Table {
|
||||
}
|
||||
.into_pipeline_data())
|
||||
} else {
|
||||
Ok(PipelineData::new())
|
||||
Ok(PipelineData::new(call.head))
|
||||
}
|
||||
}
|
||||
PipelineData::Value(Value::Record { cols, vals, .. }) => {
|
||||
|
Reference in New Issue
Block a user