There was an error while loading. Please reload this page.
2 parents 52cf0d2 + 92a7dce commit fbd9d7fCopy full SHA for fbd9d7f
1 file changed
ci/build/build-release.sh
@@ -128,7 +128,9 @@ bundle_vscode() {
128
129
# Merge the package.json for the web/remote server so we can include
130
# dependencies, since we want to ship this via NPM.
131
- jq --slurp '.[0] * .[1]' \
+ # Also override the name to prevent vulnerability scanners from
132
+ # misidentifying this package as VS Code (see #7071).
133
+ jq --slurp '.[0] * .[1] | .name = "code-oss-dev"' \
134
"$VSCODE_SRC_PATH/remote/package.json" \
135
"$VSCODE_OUT_PATH/package.json" > "$VSCODE_OUT_PATH/package.json.merged"
136
mv "$VSCODE_OUT_PATH/package.json.merged" "$VSCODE_OUT_PATH/package.json"
0 commit comments