print <signal> when ranlib failed without an exit code

This commit is contained in:
Ellis Hoag 2022-09-28 19:02:38 -07:00
parent 6d01c6d9c8
commit 01439c93b8

View File

@ -11,7 +11,7 @@ impl IntoDiagnosticArg for ExitCode {
let ExitCode(exit_code) = self;
match exit_code {
Some(t) => t.into_diagnostic_arg(),
None => DiagnosticArgValue::Str(Cow::Borrowed("None")),
None => DiagnosticArgValue::Str(Cow::Borrowed("<signal>")),
}
}
}