Skip to content

Commit

Permalink
fix env check
Browse files Browse the repository at this point in the history
  • Loading branch information
jxjj committed Dec 17, 2024
1 parent aed71ae commit 6144d09
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
// README at: https://github.com/devcontainers/templates/tree/main/src/ruby
{
"name": "z",
"initializeCommand": "if [ ! -f .env ]; then cp .env.example .env; fi && [ ! -L .devcontainer/.env ] && ln -s ../.env .devcontainer/.env",
"initializeCommand": "if [ ! -f .env ]; then cp .env.example .env; fi && if [ ! -L .devcontainer/.env ]; then ln -s ../.env .devcontainer/.env; fi",
"dockerComposeFile": "docker-compose.yml",
"service": "rails-app",
"workspaceFolder": "/workspaces/${localWorkspaceFolderBasename}",
Expand Down Expand Up @@ -47,7 +47,8 @@
"YoavBls.pretty-ts-errors",
"Vue.volar",
"MaxvanderSchee.web-accessibility",
"KoichiSasada.vscode-rdbg"
"KoichiSasada.vscode-rdbg",
"github.vscode-github-actions"
]
}
},
Expand Down

0 comments on commit 6144d09

Please sign in to comment.