Skip to content

Commit 6af8562

Browse files
committed
fix path issue
1 parent 5b4db1d commit 6af8562

File tree

1 file changed

+3
-4
lines changed
  • packages/create-vorsteh-queue/src

1 file changed

+3
-4
lines changed

packages/create-vorsteh-queue/src/index.ts

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ async function fetchTemplates(): Promise<Template[]> {
3838
try {
3939
// Fetch examples directory contents
4040
const response = await fetch(
41-
"https://api.github.com/repos/vorsteh-queue/vorsteh-queue/contents/examples",
41+
"https://api.github.com/repos/noxify/vorsteh-queue/contents/examples",
4242
)
4343
if (!response.ok) throw new Error(`HTTP ${response.status}`)
4444

@@ -51,7 +51,7 @@ async function fetchTemplates(): Promise<Template[]> {
5151
try {
5252
// Fetch package.json for each example
5353
const pkgResponse = await fetch(
54-
`https://api.github.com/repos/vorsteh-queue/vorsteh-queue/contents/examples/${item.name}/package.json`,
54+
`https://api.github.com/repos/noxify/vorsteh-queue/contents/examples/${item.name}/package.json`,
5555
)
5656
if (pkgResponse.ok) {
5757
const pkgData = (await pkgResponse.json()) as GitHubFile
@@ -73,7 +73,6 @@ async function fetchTemplates(): Promise<Template[]> {
7373

7474
s.stop(`Found ${templates.length} templates`)
7575
return templates
76-
// eslint-disable-next-line @typescript-eslint/no-unused-vars
7776
} catch (error) {
7877
s.stop("Failed to fetch templates")
7978
// Fallback to hardcoded templates
@@ -112,7 +111,7 @@ async function downloadTemplate(template: Template, targetDir: string): Promise<
112111
s.start("Downloading template...")
113112

114113
try {
115-
await download(`github:vorsteh-queue/vorsteh-queue/${template.path}`, {
114+
await download(`github:noxify/vorsteh-queue/${template.path}`, {
116115
dir: targetDir,
117116
offline: false,
118117
})

0 commit comments

Comments
 (0)