mirror of
https://github.com/withastro/astro.git
synced 2025-01-27 22:19:04 -05:00
fix: remove duplicate exit key from create template (#6360)
This commit is contained in:
parent
9f0ae4e6eb
commit
67c58c48c7
1 changed files with 1 additions and 1 deletions
|
@ -8,7 +8,7 @@ import path from 'node:path';
|
||||||
import { error, info, spinner, title } from '../messages.js';
|
import { error, info, spinner, title } from '../messages.js';
|
||||||
|
|
||||||
export async function template(
|
export async function template(
|
||||||
ctx: Pick<Context, 'template' | 'prompt' | 'dryRun' | 'exit' | 'exit'>
|
ctx: Pick<Context, 'template' | 'prompt' | 'dryRun' | 'exit'>
|
||||||
) {
|
) {
|
||||||
if (!ctx.template) {
|
if (!ctx.template) {
|
||||||
const { template: tmpl } = await ctx.prompt({
|
const { template: tmpl } = await ctx.prompt({
|
||||||
|
|
Loading…
Add table
Reference in a new issue