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-20 13:56:20 -07:00
committed by GitHub
parent 2c1e1688e8
commit 84ec4611c4

View File

@@ -58,7 +58,8 @@ EXAMPLES:
# Get feature paths and validate branch
$paths = Get-FeaturePathsEnv
if (-not (Test-FeatureBranch -Branch $paths.CURRENT_BRANCH)) {
$hasGit = Test-Path (Join-Path $paths.REPO_ROOT ".git")
if (-not (Test-FeatureBranch -Branch $paths.CURRENT_BRANCH -HasGit:$hasGit)) {
exit 1
}