Skip to content

Commit

Permalink
feat: clean scoop cache if cleanup is enabled (#909)
Browse files Browse the repository at this point in the history
  • Loading branch information
SteveLauC authored Sep 16, 2024
1 parent 25d3a81 commit e32246f
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/steps/os/windows.rs
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,10 @@ pub fn run_scoop(ctx: &ExecutionContext) -> Result<()> {

if ctx.config().cleanup() {
ctx.run_type().execute(&scoop).args(["cleanup", "*"]).status_checked()?;
ctx.run_type()
.execute(&scoop)
.args(["cache", "rm", "-a"])
.status_checked()?
}

Ok(())
Expand Down

0 comments on commit e32246f

Please sign in to comment.