Improve external output in subexprs (#294)

This commit is contained in:
JT
2021-11-06 18:50:33 +13:00
committed by GitHub
parent c7d159a0f3
commit 02b8027749
50 changed files with 320 additions and 136 deletions

View File

@ -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, .. }) => {

View File

@ -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, .. }) => {