From fcb09483a5506dc241efa9d2b2931a451564080a Mon Sep 17 00:00:00 2001 From: elpatron Date: Fri, 19 Jun 2026 17:23:37 +0200 Subject: [PATCH] Update deployment script variable naming for clarity and consistency. --- scripts/deploy.ps1 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/deploy.ps1 b/scripts/deploy.ps1 index b0914d8..abf8abe 100644 --- a/scripts/deploy.ps1 +++ b/scripts/deploy.ps1 @@ -18,8 +18,8 @@ Set-Location $RepoRoot # On Windows use native OpenSSH (same client as interactive "ssh" in PowerShell). # Git Bash ships its own ssh/known_hosts and breaks host key verification. -$IsWindows = ($env:OS -match "Windows") -or ($PSVersionTable.PSPlatform -eq "Win32NT") -if (-not $IsWindows -and (Get-Command bash -ErrorAction SilentlyContinue)) { +$OnWindows = ($env:OS -match "Windows") -or ($PSVersionTable.PSPlatform -eq "Win32NT") +if (-not $OnWindows -and (Get-Command bash -ErrorAction SilentlyContinue)) { & bash "./scripts/deploy.sh" exit $LASTEXITCODE }