mirror of
https://github.com/github/spec-kit.git
synced 2026-01-31 13:03:36 +00:00
Merge branch 'consolidate-scripts' of https://github.com/github/spec-kit into consolidate-scripts
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user