From 58052634fa055027e07a4e53ae490a0290e4a0f8 Mon Sep 17 00:00:00 2001 From: shadcn Date: Fri, 20 Feb 2026 23:20:45 +0400 Subject: [PATCH] fix --- packages/shadcn/src/commands/init.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/shadcn/src/commands/init.ts b/packages/shadcn/src/commands/init.ts index 59853dbb72..b70b350cb6 100644 --- a/packages/shadcn/src/commands/init.ts +++ b/packages/shadcn/src/commands/init.ts @@ -208,7 +208,7 @@ export const init = new Command() let shouldReinstall = options.reinstall - if (!shouldReinstall) { + if (shouldReinstall === undefined) { const { reinstall } = await prompts({ type: "confirm", name: "reinstall",