Skip to content

Commit

Permalink
Format & Config
Browse files Browse the repository at this point in the history
  • Loading branch information
grahnen committed Dec 9, 2024
1 parent 8c80c7a commit 9eedecc
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
3 changes: 3 additions & 0 deletions config.example.toml
Original file line number Diff line number Diff line change
Expand Up @@ -239,6 +239,9 @@
# 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`
Expand Down
6 changes: 3 additions & 3 deletions src/steps/generic.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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()
}
Expand Down

0 comments on commit 9eedecc

Please sign in to comment.