Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/generator/template-registry.ts
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ export function getTemplate(templateId: string): TemplateMetadata {

if (!template) {
throw new ValidationCliError(
`Unknown template '${templateId}'. Supported templates: ${TEMPLATE_IDS.join(', ')}.`,
`The requested template is not supported. Supported templates: ${TEMPLATE_IDS.join(', ')}.`,
);
}

Expand Down
2 changes: 1 addition & 1 deletion src/generator/template-sources.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ export function resolveBundledTemplateRoot(templateId: string): string {

if (directory === undefined) {
throw new ValidationCliError(
`Template '${templateId}' is registered but is not bundled in this CLI version yet.`,
'The selected template is not available in this CLI version.',
);
}

Expand Down
2 changes: 1 addition & 1 deletion src/generator/validation.ts
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ export function planProjectDestination(
if (fileSystem.exists(destination)) {
if (!fileSystem.isDirectory(destination)) {
throw new ValidationCliError(
`Destination already exists and is not a directory: ${destination}`,
`Destination already exists and is not a directory: ${destination}.`,
);
}

Expand Down