mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-18 04:23:31 +01:00
fix(Bun): Fix typo for Bun template (#9987)
fix(create-discord-bot): Fix typo for Bun Template which caused install errors
This commit is contained in:
@@ -58,10 +58,10 @@ export async function createDiscordBot({ directory, installPackages, typescript,
|
|||||||
|
|
||||||
if (typescript) {
|
if (typescript) {
|
||||||
await cp(
|
await cp(
|
||||||
new URL('../template/Bun/Typescript/tsconfig.eslint.json', import.meta.url),
|
new URL('../template/Bun/TypeScript/tsconfig.eslint.json', import.meta.url),
|
||||||
`${root}/tsconfig.eslint.json`,
|
`${root}/tsconfig.eslint.json`,
|
||||||
);
|
);
|
||||||
await cp(new URL('../template/Bun/Typescript/tsconfig.json', import.meta.url), `${root}/tsconfig.json`);
|
await cp(new URL('../template/Bun/TypeScript/tsconfig.json', import.meta.url), `${root}/tsconfig.json`);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user