mirror of
https://github.com/nushell/nushell
synced 2024-11-10 15:14:14 +00:00
Fix ignore to run side effects of previous command (#4510)
Co-authored-by: Genna Wingert <wingertge@gmail.com>
This commit is contained in:
parent
fa75c93765
commit
8f5b857fcf
1 changed files with 2 additions and 1 deletions
|
@ -23,8 +23,9 @@ impl Command for Ignore {
|
|||
_engine_state: &EngineState,
|
||||
_stack: &mut Stack,
|
||||
call: &Call,
|
||||
_input: PipelineData,
|
||||
input: PipelineData,
|
||||
) -> Result<nu_protocol::PipelineData, nu_protocol::ShellError> {
|
||||
input.into_value(call.head);
|
||||
Ok(PipelineData::new(call.head))
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue