Skip to content

Commit

Permalink
Fix inverted logic in Conclusion::exit_code
Browse files Browse the repository at this point in the history
  • Loading branch information
LukasKalbertodt committed Apr 9, 2024
1 parent 01aba1d commit f3ffa44
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -338,9 +338,9 @@ impl Conclusion {
/// success/failure to the calling process.
pub fn exit_code(&self) -> ExitCode {
if self.has_failed() {
ExitCode::SUCCESS
} else {
ExitCode::from(101)
} else {
ExitCode::SUCCESS
}
}

Expand Down

0 comments on commit f3ffa44

Please sign in to comment.