Skip to content

Commit 15ce805

Browse files
committed
Fixed codespaces not cloning submodule automatically
1 parent aeb84d9 commit 15ce805

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.devcontainer/devcontainer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@
5555
// "mounts": [ "source=${env:HOME}${env:USERPROFILE}/.aspnet/https,target=/home/vscode/.aspnet/https,type=bind" ],
5656
// Use 'postCreateCommand' to run commands after the container is created.
5757
// "postCreateCommand": "dotnet restore",
58-
"postCreateCommand": "dotnet dev-certs https --trust",
58+
"postCreateCommand": "git submodule update --init; dotnet dev-certs https --trust",
5959
// Comment out connect as root instead. More info: https://aka.ms/vscode-remote/containers/non-root.
6060
"remoteUser": "vscode",
6161
"features": {

0 commit comments

Comments
 (0)