Skip to content

Commit dc8447d

Browse files
committed
reverting removal of postcreate command
1 parent 2eecaff commit dc8447d

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

.devcontainer/devcontainer.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,9 @@
1010
},
1111
"remoteEnv": {
1212
"PATH": "${containerEnv:PATH}:${containerWorkspaceFolder}/node_modules/.bin"
13-
},
14-
"postAttachCommand": "bash -lc 'if [ -f package-lock.json ] && [ ! -d node_modules ]; then echo \"[apiops-cli] Reminder: run 'npm ci' before building or testing.\"; fi'",
13+
},
14+
"postCreateCommand": "npm ci --ignore-scripts",
15+
"postAttachCommand": "echo '[apiops-cli] Run npm ci to install dependencies and embed markdown templates.'",
1516
"customizations": {
1617
"vscode": {
1718
"settings": {

0 commit comments

Comments
 (0)