Skip to content

Commit

Permalink
refactor: copy api/sample.env instead of rename
Browse files Browse the repository at this point in the history
  • Loading branch information
minenwerfer committed Nov 19, 2024
1 parent 05013b8 commit 90c5186
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/cli.ts
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ const main = async () => {
path.join(projectPath, '.gitignore'),
)

await fs.promises.rename(
await fs.promises.copyFile(
path.join(projectPath, 'api', 'sample.env'),
path.join(projectPath, 'api', '.env'),
)
Expand Down

0 comments on commit 90c5186

Please sign in to comment.