Skip to content

Commit f3d55cf

Browse files
authored
Merge pull request #546 from danyow/main
fix /specify command
2 parents f106332 + c6051a0 commit f3d55cf

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

scripts/bash/create-new-feature.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ fi
8080
FEATURE_DIR="$SPECS_DIR/$BRANCH_NAME"
8181
mkdir -p "$FEATURE_DIR"
8282

83-
TEMPLATE="$REPO_ROOT/templates/spec-template.md"
83+
TEMPLATE="$REPO_ROOT/.specify/templates/spec-template.md"
8484
SPEC_FILE="$FEATURE_DIR/spec.md"
8585
if [ -f "$TEMPLATE" ]; then cp "$TEMPLATE" "$SPEC_FILE"; else touch "$SPEC_FILE"; fi
8686

scripts/powershell/create-new-feature.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ if ($hasGit) {
8989
$featureDir = Join-Path $specsDir $branchName
9090
New-Item -ItemType Directory -Path $featureDir -Force | Out-Null
9191

92-
$template = Join-Path $repoRoot 'templates/spec-template.md'
92+
$template = Join-Path $repoRoot '.specify/templates/spec-template.md'
9393
$specFile = Join-Path $featureDir 'spec.md'
9494
if (Test-Path $template) {
9595
Copy-Item $template $specFile -Force

0 commit comments

Comments
 (0)