diff --git a/packages/create-astro/src/actions/project-name.ts b/packages/create-astro/src/actions/project-name.ts index bb4d5feb6..8802387af 100644 --- a/packages/create-astro/src/actions/project-name.ts +++ b/packages/create-astro/src/actions/project-name.ts @@ -6,7 +6,9 @@ import { info, log, title } from '../messages.js'; import { isEmpty, toValidName } from './shared.js'; -export async function projectName(ctx: Pick) { +export async function projectName( + ctx: Pick +) { await checkCwd(ctx.cwd); if (!ctx.cwd || !isEmpty(ctx.cwd)) { diff --git a/packages/create-astro/src/actions/template.ts b/packages/create-astro/src/actions/template.ts index ae9e6eb5a..253c9fab1 100644 --- a/packages/create-astro/src/actions/template.ts +++ b/packages/create-astro/src/actions/template.ts @@ -6,7 +6,9 @@ import fs from 'node:fs'; import path from 'node:path'; import { error, info, spinner, title } from '../messages.js'; -export async function template(ctx: Pick) { +export async function template( + ctx: Pick +) { if (ctx.yes) { ctx.template = 'basics'; await info('tmpl', `Using ${color.reset(ctx.template)}${color.dim(' as project template')}`);