mirror of
https://github.com/shadcn-ui/ui.git
synced 2026-07-01 16:44:24 +00:00
fix
This commit is contained in:
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user