From 5d7a92b563ce87a181459b0b1a549fa6c9dbd204 Mon Sep 17 00:00:00 2001 From: natemoo-re Date: Thu, 10 Mar 2022 15:56:29 +0000 Subject: [PATCH] [ci] format --- packages/create-astro/src/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/create-astro/src/index.ts b/packages/create-astro/src/index.ts index 35cbf9dfe..a1f5b3b5b 100644 --- a/packages/create-astro/src/index.ts +++ b/packages/create-astro/src/index.ts @@ -39,7 +39,7 @@ export async function main() { console.log(`${green(`>`)} ${gray(`Prepare for liftoff.`)}`); console.log(`${green(`>`)} ${gray(`Gathering mission details...`)}`); - const cwd = args['_'][2] as string || '.'; + const cwd = (args['_'][2] as string) || '.'; if (fs.existsSync(cwd)) { if (fs.readdirSync(cwd).length > 0) { const response = await prompts({