Skip to content

Commit 4bb64bd

Browse files
committed
fix: use Console::Error.WriteLine instead of Write-Error in setup-tasks.ps1
1 parent f4f3110 commit 4bb64bd

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

scripts/powershell/setup-tasks.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ if (Test-Path $paths.QUICKSTART) { $docs += 'quickstart.md' }
4949
$tasksTemplate = Resolve-Template -TemplateName 'tasks-template' -RepoRoot $paths.REPO_ROOT
5050
if (-not $tasksTemplate) {
5151
$expectedCoreTemplate = Join-Path $paths.REPO_ROOT '.specify/templates/tasks-template.md'
52-
Write-Error "Tasks template not found for repository root: $($paths.REPO_ROOT)`nExpected shared/core template location: $expectedCoreTemplate`nTo continue, restore the shared templates (for example by re-running 'specify init') so that '.specify/templates/tasks-template.md' exists, or add a valid tasks-template override."
52+
[Console]::Error.WriteLine("Tasks template not found for repository root: $($paths.REPO_ROOT)`nExpected shared/core template location: $expectedCoreTemplate`nTo continue, restore the shared templates (for example by re-running 'specify init') so that '.specify/templates/tasks-template.md' exists, or add a valid tasks-template override.")
5353
exit 1
5454
}
5555

0 commit comments

Comments
 (0)