Archived
1
0

Add code-server version into VS Code about

Closes #1506
This commit is contained in:
Anmol Sethi
2020-05-14 21:30:34 -04:00
parent d7234029e6
commit 40778b15ca
3 changed files with 39 additions and 4 deletions

View File

@ -2,8 +2,6 @@
set -eu
main() {
cd lib/vscode
case "${npm_config_user_agent-}" in npm*)
# We are running under npm.
if [ "${npm_config_unsafe_perm-}" != "true" ]; then
@ -16,6 +14,8 @@ main() {
;;
esac
cd lib/vscode
# We have to rename node_modules.bundled to node_modules.
# The bundled modules were renamed originally to avoid being ignored by yarn.
node_modules="$(find . -depth -name "node_modules.bundled")"