(self)
| 84 | /// [`Output`]: std::process::Output |
| 85 | #[track_caller] |
| 86 | fn unwrap_err(self) -> OutputError { |
| 87 | match self.ok() { |
| 88 | Ok(output) => panic!( |
| 89 | "Command completed successfully\nstdout=```{}```", |
| 90 | DebugBytes::new(&output.stdout) |
| 91 | ), |
| 92 | Err(err) => err, |
| 93 | } |
| 94 | } |
| 95 | } |
| 96 | |
| 97 | impl OutputOkExt for process::Output { |