mirror of
https://github.com/shadcn-ui/ui.git
synced 2026-06-28 15:14:12 +00:00
fix: cli (#4669)
This commit is contained in:
5
.changeset/wet-forks-teach.md
Normal file
5
.changeset/wet-forks-teach.md
Normal file
@@ -0,0 +1,5 @@
|
||||
---
|
||||
"shadcn": patch
|
||||
---
|
||||
|
||||
npx shadcn init
|
||||
@@ -164,7 +164,6 @@ async function fetchRegistry(paths: string[]) {
|
||||
const results = await Promise.all(
|
||||
paths.map(async (path) => {
|
||||
const url = getRegistryUrl(path)
|
||||
console.log("👉", url)
|
||||
const response = await fetch(url, { agent })
|
||||
|
||||
if (!response.ok) {
|
||||
|
||||
Reference in New Issue
Block a user