From 1dccef49799f41c74f175cf6dfe7f504efd23a6f Mon Sep 17 00:00:00 2001 From: Jason Robert Date: Wed, 25 Mar 2026 16:48:33 -0400 Subject: [PATCH] fix: use return instead of exit in install.ps1 to avoid killing session --- install.ps1 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/install.ps1 b/install.ps1 index 9d9f24f..52e42ce 100644 --- a/install.ps1 +++ b/install.ps1 @@ -62,7 +62,7 @@ $existingConductor = Get-Command conductor -ErrorAction SilentlyContinue if ($existingConductor) { $currentVersion = $null try { - $versionOutput = conductor --version 2>$null + $versionOutput = (conductor --version 2>&1) | Out-String if ($versionOutput -match '(\d+\.\d+\.\d+[^ ]*)') { $currentVersion = $Matches[1] } @@ -75,7 +75,7 @@ if ($existingConductor) { Write-Host "" Write-Host " Run 'conductor --help' to get started." Write-Host "" - exit 0 + return } Write-Info "Upgrading Conductor: v$currentVersion → $tagName" }