diff --git a/config.example.toml b/config.example.toml index 5ab321f1..e2bb6e3c 100644 --- a/config.example.toml +++ b/config.example.toml @@ -239,9 +239,6 @@ # Upgrade deno executable to the given version. # version = "stable" -[elan] -# Disables elan self update -# self_update = false [vim] # For `vim-plug`, execute `PlugUpdate!` instead of `PlugUpdate` diff --git a/src/steps/generic.rs b/src/steps/generic.rs index dbcea340..abd7dba7 100644 --- a/src/steps/generic.rs +++ b/src/steps/generic.rs @@ -260,9 +260,9 @@ pub fn run_elan(ctx: &ExecutionContext) -> Result<()> { print_separator("elan"); if ctx.config().elan_self_update() { ctx.run_type() - .execute(&elan) - .args(["self", "update"]) - .status_checked()?; + .execute(&elan) + .args(["self", "update"]) + .status_checked()?; } ctx.run_type().execute(&elan).arg("update").status_checked() }