diff --git a/packages/create-astro/src/index.ts b/packages/create-astro/src/index.ts index 55b285e89b..9fe81f9873 100644 --- a/packages/create-astro/src/index.ts +++ b/packages/create-astro/src/index.ts @@ -163,7 +163,7 @@ export async function main() { { onCancel: () => ora().info(dim('Operation cancelled. See you later, astronaut!')) } ); - if (!options.template || options.template === true) { + if (!options.template || options.template === true) { ora().info(dim('No template provided. See you later, astronaut!')); process.exit(1); }