Update scripts/powershell/check-prerequisites.ps1

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
Den Delimarsky
2025-09-21 01:48:21 -07:00
committed by GitHub
parent 2d89075106
commit b03bba37ce

View File

@@ -58,8 +58,8 @@ EXAMPLES:
# Get feature paths and validate branch # Get feature paths and validate branch
$paths = Get-FeaturePathsEnv $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 exit 1
} }