Archived
1
0

Enforce Node binary permissions

In some cases it may have extra write permissions.
This commit is contained in:
Asher 2023-06-21 11:00:52 -08:00
parent cef2aa22dc
commit 56d10d82bf
No known key found for this signature in database
GPG Key ID: D63C1EF81242354A

View File

@ -24,6 +24,8 @@ main() {
rsync ./ci/build/code-server.sh "$RELEASE_PATH/bin/code-server"
rsync "$node_path" "$RELEASE_PATH/lib/node"
chmod 755 "$RELEASE_PATH/lib/node"
pushd "$RELEASE_PATH"
npm install --unsafe-perm --omit=dev
popd