From 87deca348854173e0fedde23aa171be7c68fe4c7 Mon Sep 17 00:00:00 2001 From: Daniel Castillo Date: Wed, 27 Nov 2024 11:35:05 -0500 Subject: [PATCH] fix: syntax error #27 --- src/commands/init.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/commands/init.ts b/src/commands/init.ts index 7f4d043..f4b9211 100644 --- a/src/commands/init.ts +++ b/src/commands/init.ts @@ -45,7 +45,8 @@ export const init = new Command() let path = options.path ?? SRC_PATH; switch (projectTechStack) { - case ("astro" || "vite"): + case "astro": + case "vite": const isUsingReact = isProjectUsingReact(); if (!isUsingReact) { logger.error("The project is not using React. Exiting.");