From e35bc26186e77f125f649e627c02112caadf7289 Mon Sep 17 00:00:00 2001
From: natemoo-re <natemoo-re@users.noreply.github.com>
Date: Fri, 28 Oct 2022 17:26:22 +0000
Subject: [PATCH] [ci] format

---
 packages/create-astro/src/index.ts | 24 +++++++++++++-----------
 1 file changed, 13 insertions(+), 11 deletions(-)

diff --git a/packages/create-astro/src/index.ts b/packages/create-astro/src/index.ts
index dcd5c98abe..16ac7e4022 100644
--- a/packages/create-astro/src/index.ts
+++ b/packages/create-astro/src/index.ts
@@ -1,7 +1,6 @@
 /* eslint no-console: 'off' */
 import { color, generateProjectName, label, say } from '@astrojs/cli-kit';
-import { forceUnicode } from '@astrojs/cli-kit/utils';
-import { random } from '@astrojs/cli-kit/utils';
+import { forceUnicode, random } from '@astrojs/cli-kit/utils';
 import { assign, parse, stringify } from 'comment-json';
 import { execa, execaCommand } from 'execa';
 import fs from 'fs';
@@ -30,7 +29,7 @@ import { TEMPLATES } from './templates.js';
 // broke our arg parser, since `--` is a special kind of flag. Filtering for `--` here
 // fixes the issue so that create-astro now works on all npm version.
 const cleanArgv = process.argv.filter((arg) => arg !== '--');
-const args = yargs(cleanArgv, { boolean: ['fancy']});
+const args = yargs(cleanArgv, { boolean: ['fancy'] });
 prompts.override(args);
 
 // Enable full unicode support if the `--fancy` flag is passed
@@ -96,16 +95,19 @@ export async function main() {
 
 	logger.debug('Verbose logging turned on');
 	if (!args.skipHouston) {
-		await say([
+		await say(
 			[
-				'Welcome',
-				'to',
-				label('astro', color.bgGreen, color.black),
-				color.green(`v${version}`) + ',',
-				`${username}!`,
+				[
+					'Welcome',
+					'to',
+					label('astro', color.bgGreen, color.black),
+					color.green(`v${version}`) + ',',
+					`${username}!`,
+				],
+				random(welcome),
 			],
-			random(welcome),
-		], { hat: args.fancy ? '🎩' : undefined });
+			{ hat: args.fancy ? '🎩' : undefined }
+		);
 		await banner(version);
 	}