From 8387468607e2f52c31e9fd3d2661bda43b99d886 Mon Sep 17 00:00:00 2001 From: Gideon <87426140+GideonBear@users.noreply.github.com> Date: Thu, 6 Nov 2025 10:22:28 +0100 Subject: [PATCH] fix(jetbrains-toolbox): fix step not dry running (#1253) --- src/steps/generic.rs | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/steps/generic.rs b/src/steps/generic.rs index fb139d84..2b8da710 100644 --- a/src/steps/generic.rs +++ b/src/steps/generic.rs @@ -1600,7 +1600,7 @@ pub fn run_zigup(ctx: &ExecutionContext) -> Result<()> { Ok(()) } -pub fn run_jetbrains_toolbox(_ctx: &ExecutionContext) -> Result<()> { +pub fn run_jetbrains_toolbox(ctx: &ExecutionContext) -> Result<()> { let installation = find_jetbrains_toolbox(); match installation { Err(FindError::NotFound) => { @@ -1623,6 +1623,11 @@ pub fn run_jetbrains_toolbox(_ctx: &ExecutionContext) -> Result<()> { Ok(installation) => { print_separator("JetBrains Toolbox"); + if ctx.run_type().dry() { + println!("Dry running jetbrains-toolbox-updater"); + return Ok(()); + } + match update_jetbrains_toolbox(installation) { Err(e) => { // Unexpected error