Skip to content

Commit

Permalink
Finsh feature/27
Browse files Browse the repository at this point in the history
  • Loading branch information
dlcastillop authored Nov 27, 2024
2 parents 7cdfaa9 + 87deca3 commit baa1206
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/commands/init.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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.");
Expand Down

0 comments on commit baa1206

Please sign in to comment.