Skip to content

Commit 5b11b81

Browse files
committed
feat: upgrade
1 parent 2d649a8 commit 5b11b81

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

cli/src/upgrade.rs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -297,16 +297,16 @@ echo Upgrade completed successfully!
297297
.context("Failed to start upgrade process")?;
298298

299299
println!("⚠️ The upgrade will complete after this process exits.");
300+
Ok(())
300301
}
301302

302303
#[cfg(not(windows))]
303304
{
304-
return Err(anyhow!(
305+
// This should never be called on non-Windows, but just in case
306+
Err(anyhow!(
305307
"Windows-specific function called on non-Windows platform"
306-
));
308+
))
307309
}
308-
309-
Ok(())
310310
}
311311

312312
fn install_binary_unix(binary_data: &[u8], current_exe: &Path, backup_path: &Path) -> Result<()> {

0 commit comments

Comments
 (0)