From b03bba37ce93b0cf1c921950d7d8b3729b1c8721 Mon Sep 17 00:00:00 2001 From: Den Delimarsky <53200638+localden@users.noreply.github.com> Date: Sun, 21 Sep 2025 01:48:21 -0700 Subject: [PATCH] Update scripts/powershell/check-prerequisites.ps1 Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> --- scripts/powershell/check-prerequisites.ps1 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/powershell/check-prerequisites.ps1 b/scripts/powershell/check-prerequisites.ps1 index 3ce11634f..f039419f7 100644 --- a/scripts/powershell/check-prerequisites.ps1 +++ b/scripts/powershell/check-prerequisites.ps1 @@ -58,8 +58,8 @@ EXAMPLES: # Get feature paths and validate branch $paths = Get-FeaturePathsEnv -$hasGit = Test-Path (Join-Path $paths.REPO_ROOT ".git") -if (-not (Test-FeatureBranch -Branch $paths.CURRENT_BRANCH -HasGit:$hasGit)) { + +if (-not (Test-FeatureBranch -Branch $paths.CURRENT_BRANCH -HasGit:$paths.HAS_GIT)) { exit 1 }