Update template path for spec file creation

This commit is contained in:
danyow
2025-09-24 21:31:37 +08:00
committed by GitHub
parent f1063321c6
commit e924a73625

View File

@@ -89,7 +89,7 @@ if ($hasGit) {
$featureDir = Join-Path $specsDir $branchName
New-Item -ItemType Directory -Path $featureDir -Force | Out-Null
$template = Join-Path $repoRoot 'templates/spec-template.md'
$template = Join-Path $repoRoot '.specify/templates/spec-template.md'
$specFile = Join-Path $featureDir 'spec.md'
if (Test-Path $template) {
Copy-Item $template $specFile -Force