From 87430f6b689bf31efd6f0c158a595c308e48ad0f Mon Sep 17 00:00:00 2001 From: Arlo Date: Sat, 15 Jul 2023 16:37:25 +0000 Subject: [PATCH] Fixed codespaces not cloning submodule automatically --- .devcontainer/devcontainer.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json index b4cccfde..7d947ec2 100644 --- a/.devcontainer/devcontainer.json +++ b/.devcontainer/devcontainer.json @@ -55,7 +55,7 @@ // "mounts": [ "source=${env:HOME}${env:USERPROFILE}/.aspnet/https,target=/home/vscode/.aspnet/https,type=bind" ], // Use 'postCreateCommand' to run commands after the container is created. // "postCreateCommand": "dotnet restore", - "postCreateCommand": "dotnet dev-certs https --trust", + "postCreateCommand": "git submodule update --init; dotnet dev-certs https --trust", // Comment out connect as root instead. More info: https://aka.ms/vscode-remote/containers/non-root. "remoteUser": "vscode", "features": {