Skip to content

Commit af62833

Browse files
committed
fix: improve tasks-template error message to mention full override stack
1 parent 44ca254 commit af62833

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

scripts/bash/setup-tasks.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,8 +55,8 @@ fi
5555
# Resolve tasks template through override stack
5656
TASKS_TEMPLATE=$(resolve_template "tasks-template" "$REPO_ROOT") || true
5757
if [[ -z "$TASKS_TEMPLATE" ]] || [[ ! -f "$TASKS_TEMPLATE" ]]; then
58-
echo "ERROR: Could not resolve required tasks-template in $REPO_ROOT" >&2
59-
echo "Expected shared core template at .specify/templates/tasks-template.md; run 'specify init' or reinstall shared infra to restore it." >&2
58+
echo "ERROR: Could not resolve required tasks-template from the template override stack for $REPO_ROOT" >&2
59+
echo "Template 'tasks-template' was not found in any supported location (overrides, presets, extensions, or shared core). Add an override at .specify/templates/tasks-template.md, or run 'specify init' / reinstall shared infra to restore the shared core template." >&2
6060
exit 1
6161
fi
6262

0 commit comments

Comments
 (0)