Skip to content

Commit

Permalink
Fix reading wrong .env path (#694)
Browse files Browse the repository at this point in the history
* Fix reading wrong .env path

* Update version
  • Loading branch information
blurfx authored Nov 26, 2023
1 parent 0e34144 commit 4bbdf2e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion tools/create-yorkie-app/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,9 @@ async function init() {
}

if (file === '.env') {
const envVariables = fs.readFileSync(file).toString();
const envVariables = fs
.readFileSync(path.join(templateDir, file))
.toString();

write(
file,
Expand Down
2 changes: 1 addition & 1 deletion tools/create-yorkie-app/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "create-yorkie-app",
"version": "0.4.7",
"version": "0.4.7-fix.1",
"bin": {
"create-yorkie-app": "dist/create-yorkie-app.mjs"
},
Expand Down

0 comments on commit 4bbdf2e

Please sign in to comment.