We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 225f8fc commit c8073d4Copy full SHA for c8073d4
util/process_wrapper/main.rs
@@ -237,8 +237,9 @@ fn main() -> Result<(), ProcessWrapperError> {
237
.open(&ecf)
238
.map_err(|e| ProcessWrapperError(format!("failed to create exit code file: {}", e)))?;
239
let mut writer = io::LineWriter::new(exit_code_file);
240
- writeln!(writer, "{}", code)
241
- .map_err(|e| ProcessWrapperError(format!("failed to write exit code to file: {}", e)))?;
+ writeln!(writer, "{}", code).map_err(|e| {
+ ProcessWrapperError(format!("failed to write exit code to file: {}", e))
242
+ })?;
243
}
244
245
if opts.forward_exit_code {
0 commit comments