Fix dangling links in standalone release

The fix will now run both to the GitHub and npm release instead of only
for the npm releases.

Closes #5157.
This commit is contained in:
Asher
2024-07-25 09:16:15 -08:00
parent 0f9436e7b9
commit 31bc0c6b1a
2 changed files with 4 additions and 5 deletions

View File

@@ -24,6 +24,10 @@ main() {
pushd "$RELEASE_PATH"
npm install --unsafe-perm --omit=dev
# Code deletes some files from the extension node_modules directory which
# leaves broken symlinks in the corresponding .bin directory. nfpm will fail
# on these broken symlinks so clean them up.
rm -fr "./lib/vscode/extensions/node_modules/.bin"
popd
}