fix: remove duplicate exit key from create template (#6360)

This commit is contained in:
Vick Vasquez 2023-02-25 19:51:26 -06:00 committed by GitHub
parent 9f0ae4e6eb
commit 67c58c48c7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -8,7 +8,7 @@ import path from 'node:path';
import { error, info, spinner, title } from '../messages.js';
export async function template(
ctx: Pick<Context, 'template' | 'prompt' | 'dryRun' | 'exit' | 'exit'>
ctx: Pick<Context, 'template' | 'prompt' | 'dryRun' | 'exit'>
) {
if (!ctx.template) {
const { template: tmpl } = await ctx.prompt({