mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-09 16:13:31 +01:00
ci: update search with github actions
This commit is contained in:
@@ -20,7 +20,7 @@ export async function fetchVersions(packageName: string): Promise<string[]> {
|
||||
]);
|
||||
|
||||
// @ts-expect-error: https://github.com/planetscale/database-js/issues/71
|
||||
return rows[0].data;
|
||||
return rows.map((row) => row.version);
|
||||
}
|
||||
|
||||
export async function fetchModelJSON(packageName: string, version: string): Promise<unknown> {
|
||||
|
||||
Reference in New Issue
Block a user