Add support for stderr and exit code (#4647)

This commit is contained in:
JT
2022-02-25 14:51:31 -05:00
committed by GitHub
parent 2b377391c2
commit 0c3ea636fb
23 changed files with 290 additions and 73 deletions

View File

@ -28,7 +28,7 @@ impl Command for Describe {
input: PipelineData,
) -> Result<PipelineData, ShellError> {
let head = call.head;
if matches!(input, PipelineData::RawStream(..)) {
if matches!(input, PipelineData::ExternalStream { .. }) {
Ok(PipelineData::Value(
Value::string("raw input", call.head),
None,