Skip to content

Commit 572f7aa

Browse files
authored
Clone github/rest-api-description during Codespace pre-build (#51066)
1 parent 225e9f2 commit 572f7aa

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

.devcontainer/devcontainer.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,9 @@
5858
// Use 'postCreateCommand' to run commands after the container is created.
5959
"postCreateCommand": "npm ci",
6060

61+
// Use 'updateContentCommand' to run commands to be included in Codespace pre-builds
62+
"updateContentCommand": "git clone https://github.com/github/rest-api-description.git",
63+
6164
// Comment out connect as root instead. More info: https://aka.ms/vscode-remote/containers/non-root.
6265
"remoteUser": "node",
6366

0 commit comments

Comments
 (0)