mirror of
https://github.com/shadcn-ui/ui.git
synced 2026-06-29 15:44:22 +00:00
fix
This commit is contained in:
@@ -10,7 +10,6 @@ import { migrate } from "@/src/commands/migrate"
|
||||
import { registry } from "@/src/commands/registry"
|
||||
import { search } from "@/src/commands/search"
|
||||
import { view } from "@/src/commands/view"
|
||||
import { REGISTRY_URL } from "@/src/registry/constants"
|
||||
import { Command } from "commander"
|
||||
|
||||
import packageJson from "../package.json"
|
||||
@@ -19,12 +18,6 @@ process.on("SIGINT", () => process.exit(0))
|
||||
process.on("SIGTERM", () => process.exit(0))
|
||||
|
||||
async function main() {
|
||||
// 🚨 Remove before production.
|
||||
if (!REGISTRY_URL.includes("rc") && !REGISTRY_URL.includes("localhost")) {
|
||||
console.error("⚠️ [BETA TESTERS] The REGISTRY_URL is not set.")
|
||||
process.exit(1)
|
||||
}
|
||||
|
||||
const program = new Command()
|
||||
.name("shadcn")
|
||||
.description("build your component library")
|
||||
|
||||
Reference in New Issue
Block a user