Skip to content

Commit

Permalink
refactor: flip order of mise upgrade and mise plugins update (#968)
Browse files Browse the repository at this point in the history
flip order of mise plugins update and mise upgrade to attempt updating plugins first.
  • Loading branch information
riffingonsoftware authored Oct 28, 2024
1 parent ea2f3e0 commit f181a79
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/steps/os/unix.rs
Original file line number Diff line number Diff line change
Expand Up @@ -653,12 +653,12 @@ pub fn run_mise(ctx: &ExecutionContext) -> Result<()> {

print_separator("mise");

ctx.run_type().execute(&mise).arg("upgrade").status_checked()?;

ctx.run_type()
.execute(&mise)
.args(["plugins", "update"])
.status_checked()
.status_checked()?;

ctx.run_type().execute(&mise).arg("upgrade").status_checked()
}

pub fn run_home_manager(ctx: &ExecutionContext) -> Result<()> {
Expand Down

0 comments on commit f181a79

Please sign in to comment.