Skip to content

Commit d3fdd62

Browse files
committed
FIX devcontainer for git
Signed-off-by: Shunsuke Kimura <[email protected]>
1 parent 6e1b446 commit d3fdd62

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.devcontainer/devcontainer.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,5 +7,6 @@
77
"forwardPorts": [3000],
88
"workspaceMount": "source=${localWorkspaceFolder},target=/workspace,type=bind,consistency=cached",
99
"workspaceFolder": "/workspace",
10-
"postStartCommand": "cargo test --package typst-docs --lib -- tests::test_docs --exact --nocapture && python3 ./gen.py && npx serve -n ./dist"
10+
"postStartCommand": "cargo test --package typst-docs --lib -- tests::test_docs --exact --nocapture && python3 ./gen.py && npx serve -n ./dist",
11+
"postCreateCommand": "git config --global --add safe.directory ${containerWorkspaceFolder}"
1112
}

0 commit comments

Comments
 (0)