diff --git a/packages/create-astro/src/actions/intro.ts b/packages/create-astro/src/actions/intro.ts index e09b71642..a96c8e434 100644 --- a/packages/create-astro/src/actions/intro.ts +++ b/packages/create-astro/src/actions/intro.ts @@ -7,16 +7,19 @@ import { banner, say, welcome } from '../messages.js'; export async function intro(ctx: Pick) { if (!ctx.skipHouston) { const hat = ctx.fancy ? random(['๐ŸŽฉ', '๐ŸŽฉ', '๐Ÿ‘‘', '๐Ÿงข', '๐Ÿฆ']) : undefined; - await say([ + await say( [ - 'Welcome', - 'to', - label('astro', color.bgGreen, color.black), - (ctx.version ? color.green(`v${ctx.version}`) : '') + ',', - `${ctx.username}!`, + [ + 'Welcome', + 'to', + label('astro', color.bgGreen, color.black), + (ctx.version ? color.green(`v${ctx.version}`) : '') + ',', + `${ctx.username}!`, + ], + random(welcome), ], - random(welcome), - ], { hat }); + { hat } + ); await banner(ctx.version); } else { await banner(ctx.version);