diff --git a/packages/create-astro/src/messages.ts b/packages/create-astro/src/messages.ts index 0856a71536da..93778a8db4f5 100644 --- a/packages/create-astro/src/messages.ts +++ b/packages/create-astro/src/messages.ts @@ -93,9 +93,9 @@ export const getVersion = () => export const log = (message: string) => stdout.write(message + '\n'); export const banner = async (version: string) => log( - `\n${label('astro', color.bgGreen, color.black)} ${color.green( + `\n${label('astro', color.bgGreen, color.black)} ${version ? color.green( color.bold(`v${version}`) - )} ${color.bold('Launch sequence initiated.')}` + ): ''} ${color.bold('Launch sequence initiated.')}` ); export const info = async (prefix: string, text: string) => {