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 b95dfc1 commit d794246
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions src/steps/generic.rs
Original file line number Diff line number Diff line change
Expand Up @@ -262,10 +262,7 @@ pub fn run_elan(ctx: &ExecutionContext) -> Result<()> {
let disabled = "self-update is disabled";
let mut success = true;

let res = ctx.run_type()
.execute(&elan)
.args(["self", "update"])
.output_checked();
let res = ctx.run_type().execute(&elan).args(["self", "update"]).output_checked();

// Ignore failed self-update if it is disabled
if let Err(e) = &res {
Expand Down

0 comments on commit d794246

Please sign in to comment.