Merge pull request #2 from danyow/patch-2

Update template path for spec file creation
This commit is contained in:
danyow
2025-09-24 21:34:10 +08:00
committed by GitHub

View File

@@ -89,7 +89,7 @@ if ($hasGit) {
$featureDir = Join-Path $specsDir $branchName $featureDir = Join-Path $specsDir $branchName
New-Item -ItemType Directory -Path $featureDir -Force | Out-Null 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' $specFile = Join-Path $featureDir 'spec.md'
if (Test-Path $template) { if (Test-Path $template) {
Copy-Item $template $specFile -Force Copy-Item $template $specFile -Force