mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-12 01:23:31 +01:00
refactor: display readme correctly
This commit is contained in:
@@ -12,7 +12,7 @@ const sql = connect({
|
||||
},
|
||||
});
|
||||
|
||||
export const fetchVersions = cache(async (packageName: string) => {
|
||||
export const fetchVersions = cache(async (packageName: string): Promise<string[]> => {
|
||||
if (process.env.NEXT_PUBLIC_LOCAL_DEV || process.env.NEXT_PUBLIC_VERCEL_ENV === 'preview') {
|
||||
return ['main'];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user