(self)
| 96 | |
| 97 | impl OutputOkExt for process::Output { |
| 98 | fn ok(self) -> OutputResult { |
| 99 | if self.status.success() { |
| 100 | Ok(self) |
| 101 | } else { |
| 102 | let error = OutputError::new(self); |
| 103 | Err(error) |
| 104 | } |
| 105 | } |
| 106 | } |
| 107 | |
| 108 | impl OutputOkExt for &mut process::Command { |
no test coverage detected