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:
Rahul Mishra
2023-11-18 22:28:33 +05:30
committed by GitHub
parent 802ec63a48
commit ce0be392d8

View File

@@ -58,10 +58,10 @@ export async function createDiscordBot({ directory, installPackages, typescript,
if (typescript) {
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`,
);
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`);
}
}