Skip to content

Commit 25927e5

Browse files
committed
chore: removed unused code
1 parent feb098b commit 25927e5

File tree

1 file changed

+0
-9
lines changed

1 file changed

+0
-9
lines changed

web/load.mjs

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -71,15 +71,6 @@ const run = async (url, branch, arch) => {
7171
`./src/metadata_${branch}_${arch}.json`,
7272
JSON.stringify(
7373
response.map((data) => {
74-
// For pkgforge-cargo and pkgforge-go, use the category directly since URLs are standardized
75-
// let category;
76-
// if (branch === "pkgforge-cargo" || branch === "pkgforge-go") {
77-
// category = data.category
78-
// } else {
79-
// const [, , , , , extractedCategory] = data.pkg_webpage.split("/");
80-
// category = extractedCategory;
81-
// }
82-
8374
const [, , , , , category] = data.pkg_webpage.split("/");
8475

8576
return {

0 commit comments

Comments
 (0)