From ed6b2fff2d4ad4a64f2249cd6484a26ea0cf294d Mon Sep 17 00:00:00 2001 From: Samuel Grahn Date: Mon, 9 Dec 2024 12:18:39 +0100 Subject: [PATCH] Formatting --- src/steps/generic.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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()