💫 Toolkit to help you get started with SDD or any other process!
Fix script path
Den Delimarsky 🌺3f67cf2f5fef
diff --git a/scripts/powershell/common.ps1 b/scripts/powershell/common.ps1index fe7be7b8b..a8d475002 100644--- a/scripts/powershell/common.ps1+++ b/scripts/powershell/common.ps1@@ -12,8 +12,7 @@ function Get-RepoRoot {}# Fall back to script location for non-git repos- $scriptDir = Split-Path -Parent $PSScriptRoot- return (Resolve-Path (Join-Path $scriptDir "..")).Path+ return (Resolve-Path (Join-Path $PSScriptRoot "../..")).Path}function Get-CurrentBranch {diff --git a/scripts/powershell/create-new-feature.ps1 b/scripts/powershell/create-new-feature.ps1index 7e1a98c02..997c6e8f6 100644--- a/scripts/powershell/create-new-feature.ps1+++ b/scripts/powershell/create-new-feature.ps1@@ -17,8 +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.-$scriptDir = Split-Path -Parent $PSScriptRoot-$fallbackRoot = (Resolve-Path (Join-Path $scriptDir "..")).Path+$fallbackRoot = (Resolve-Path (Join-Path $PSScriptRoot "../..")).Pathtry {$repoRoot = git rev-parse --show-toplevel 2>$null