Skip to content

Commit

Permalink
fix(custom): remove duplicate env creation
Browse files Browse the repository at this point in the history
  • Loading branch information
ankur-arch committed Dec 23, 2024
1 parent 3608680 commit f6d87fa
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/package-utils/setup-helpers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,10 @@ export function checkIfPrismaSchemaExists(paths: string[]) {
}

function moveEnvFileContent(dirA: string, dirB: string) {
if (dirA === dirB) {
return;
}

const envFileA = join(dirA, ".env");
const envFileB = join(dirB, ".env");

Expand Down

0 comments on commit f6d87fa

Please sign in to comment.