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",