Skip to content

Commit 8bc6f8f

Browse files
committed
use npm package command
1 parent da7524f commit 8bc6f8f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -100,14 +100,14 @@ RUN npm install --global @vscode/vsce yarn && \
100100
rm --force --recursive design50.vsix && \
101101
npm uninstall --global vsce yarn
102102

103-
# Pull Python VS Code extension and remove run
103+
# Pull Python VS Code extension and remove run button from editor title menu
104104
RUN cd /tmp && \
105105
git clone --branch v2025.14.0 --depth 1 https://github.com/microsoft/vscode-python.git && \
106106
cd vscode-python && \
107107
# Remove the editor/title/run entry and save back to package.json
108108
jq 'del(.contributes.menus."editor/title/run")' package.json > package.tmp.json && mv package.tmp.json package.json && \
109109
npm install && \
110-
npm run build && \
110+
npm run package && \
111111
mv ms-python-insiders.vsix /opt/cs50/extensions && \
112112
cd /tmp && \
113113
rm --force --recursive vscode-python

0 commit comments

Comments
 (0)