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:
Ian Manske
2024-10-02 04:04:18 -07:00
committed by GitHub
parent 475aa4f1dd
commit f03ba6793e
7 changed files with 37 additions and 8 deletions

View File

@ -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
}