Skip to content

Commit b03bba3

Browse files
localdenCopilot
andauthored
Update scripts/powershell/check-prerequisites.ps1
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
1 parent 2d89075 commit b03bba3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

scripts/powershell/check-prerequisites.ps1

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,8 +58,8 @@ EXAMPLES:
5858

5959
# Get feature paths and validate branch
6060
$paths = Get-FeaturePathsEnv
61-
$hasGit = Test-Path (Join-Path $paths.REPO_ROOT ".git")
62-
if (-not (Test-FeatureBranch -Branch $paths.CURRENT_BRANCH -HasGit:$hasGit)) {
61+
62+
if (-not (Test-FeatureBranch -Branch $paths.CURRENT_BRANCH -HasGit:$paths.HAS_GIT)) {
6363
exit 1
6464
}
6565

0 commit comments

Comments
 (0)