Skip to content

Commit

Permalink
Formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
grahnen committed Dec 10, 2024
1 parent afac6fa commit ed6b2ff
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/steps/generic.rs
Original file line number Diff line number Diff line change
Expand Up @@ -267,13 +267,13 @@ pub fn run_elan(ctx: &ExecutionContext) -> Result<()> {
if let Err(e) = exec.output_checked_utf8() {
success = match e.downcast_ref::<TopgradeError>() {
Some(TopgradeError::ProcessFailedWithOutput(_, _, stderr)) => stderr.contains(disabled),
_ => false
_ => false,
}
}
}

if !success {
return Err(eyre!(StepFailed))
return Err(eyre!(StepFailed));
}

ctx.run_type().execute(&elan).arg("update").status_checked()
Expand Down

0 comments on commit ed6b2ff

Please sign in to comment.