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

@ -44,13 +44,13 @@ impl Command for Git {
}
Err(_err) => {
// FIXME: Move this to an external signature and add better error handling
Ok(PipelineData::new())
Ok(PipelineData::new(call.head))
}
}
}
Err(_err) => {
// FIXME: Move this to an external signature and add better error handling
Ok(PipelineData::new())
Ok(PipelineData::new(call.head))
}
}
}

View File

@ -59,13 +59,13 @@ impl Command for GitCheckout {
}
Err(_err) => {
// FIXME: Move this to an external signature and add better error handling
Ok(PipelineData::new())
Ok(PipelineData::new(call.head))
}
}
}
Err(_err) => {
// FIXME: Move this to an external signature and add better error handling
Ok(PipelineData::new())
Ok(PipelineData::new(call.head))
}
}
}

View File

@ -66,10 +66,10 @@ impl Command for ListGitBranches {
.into_iter()
.into_pipeline_data(engine_state.ctrlc.clone()))
} else {
Ok(PipelineData::new())
Ok(PipelineData::new(call.head))
}
} else {
Ok(PipelineData::new())
Ok(PipelineData::new(call.head))
}
}
}