Skip to content

Commit 01a5c6d

Browse files
authored
Try quoting the code command in postCreateCommand
1 parent 57a1102 commit 01a5c6d

1 file changed

Lines changed: 1 addition & 4 deletions

File tree

.devcontainer/devcontainer.json

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -29,11 +29,8 @@
2929
"forwardPorts": [4000],
3030

3131
// Use 'postCreateCommand' to run commands after the container is created.
32-
"postCreateCommand": "npm ci && npm run build",
32+
"postCreateCommand": "postCreateCommand": "'code --install-extension .vscode/open-reusable-1.3.0.vsix' && npm ci && npm run build",
3333

34-
// Use 'postCreateCommand' to install the Open Reusables extension.
35-
"postCreateCommand": "code --install-extension .vscode/open-reusable-1.3.0.vsix",
36-
3734
// Comment out connect as root instead. More info: https://aka.ms/vscode-remote/containers/non-root.
3835
"remoteUser": "node"
3936
}

0 commit comments

Comments
 (0)