Skip to content

Commit

Permalink
fix: dir name
Browse files Browse the repository at this point in the history
Signed-off-by: sarthakjdev <jsarthak448@gmail.com>
  • Loading branch information
sarthakjdev committed May 19, 2024
1 parent b730326 commit cd7866d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/create-wapi-app/src/create-bot.ts
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ export async function createWhatsappBot(options: {
const deno = packageManagerInUse === PackageManagerEnum.Deno;
await cp(
new URL(
path.resolve(`./template/${deno ? "Deno" : isTypescriptEnabled ? "typeScript" : 'javaScript'}`),
path.resolve(`./template/${deno ? "Deno" : isTypescriptEnabled ? "typescript" : 'javascript'}`),
import.meta.url,
),
root,
Expand All @@ -76,7 +76,7 @@ export async function createWhatsappBot(options: {
if (bun) {
await cp(
new URL(
`../template/Bun/${isTypescriptEnabled ? "typeScript" : "javaScript"
`../template/Bun/${isTypescriptEnabled ? "typescript" : "javascript"
}/package.json`,
import.meta.url,
),
Expand Down

0 comments on commit cd7866d

Please sign in to comment.