diff --git a/src/steps/generic.rs b/src/steps/generic.rs index cd4ccde2..81c5ea8c 100644 --- a/src/steps/generic.rs +++ b/src/steps/generic.rs @@ -267,13 +267,13 @@ pub fn run_elan(ctx: &ExecutionContext) -> Result<()> { if let Err(e) = exec.output_checked_utf8() { success = match e.downcast_ref::() { 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()