mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-11 09:03:29 +01:00
fix: conflict resolution
This commit is contained in:
@@ -29,7 +29,7 @@ for await (const file of globber.globGenerator()) {
|
||||
await pool.sql`insert into documentation (name, version, url) values (${name.replace(
|
||||
'@discordjs/',
|
||||
'',
|
||||
)}, ${version}, ${url}) on conflict (name, version, url) do update set url = EXCLUDED.url`;
|
||||
)}, ${version}, ${url}) on conflict (name, version) do update set url = EXCLUDED.url`;
|
||||
} catch (error) {
|
||||
const err = error as Error;
|
||||
console.log(err.message);
|
||||
|
||||
Reference in New Issue
Block a user