Skip to content

Commit 35bd6c6

Browse files
committed
etstinggaa
1 parent 9970bd9 commit 35bd6c6

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

svelte.config.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,11 @@ async function getGithubSlugs() {
2121
}
2222
}
2323

24+
const githubSlugs = await getGithubSlugs();
25+
2426
console.log(githubSlugs)
2527

26-
const githubSlugs = await getGithubSlugs();
28+
2729
if (isStatic && githubSlugs.length === 0) {
2830
throw new Error('⚠️ No GitHub slugs found. Ensure GITHUB_TOKEN is set and has access to public repos.');
2931
}

0 commit comments

Comments
 (0)