Update config

This commit is contained in:
Den Delimarsky 🌺
2025-09-20 13:57:05 -07:00
parent 3f67cf2f5f
commit 2d242b4732
4 changed files with 4 additions and 4 deletions

View File

@@ -12,7 +12,7 @@ function Get-RepoRoot {
}
# Fall back to script location for non-git repos
return (Resolve-Path (Join-Path $PSScriptRoot "../..")).Path
return (Resolve-Path (Join-Path $PSScriptRoot "../../..")).Path
}
function Get-CurrentBranch {

View File

@@ -17,7 +17,7 @@ $featureDesc = ($FeatureDescription -join ' ').Trim()
# Resolve repository root. Prefer git information when available, but fall back
# to the script location so the workflow still functions in repositories that
# were initialised with --no-git.
$fallbackRoot = (Resolve-Path (Join-Path $PSScriptRoot "../..")).Path
$fallbackRoot = (Resolve-Path (Join-Path $PSScriptRoot "../../..")).Path
try {
$repoRoot = git rev-parse --show-toplevel 2>$null