mirror of
https://github.com/nushell/nushell.git
synced 2025-08-09 11:35:43 +02:00
Fix non-zero exit code errors in middle of pipeline (#13899)
# Description Fixes #13868. Should come after #13885. # User-Facing Changes Bug fix. # Tests + Formatting Added a test.
This commit is contained in:
@ -202,8 +202,8 @@ impl ChildProcess {
|
||||
}
|
||||
}
|
||||
|
||||
pub fn ignore_error(&mut self) -> &mut Self {
|
||||
self.ignore_error = true;
|
||||
pub fn ignore_error(&mut self, ignore: bool) -> &mut Self {
|
||||
self.ignore_error = ignore;
|
||||
self
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user