Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(vscode): only replace node link if it exists #11

Merged
merged 1 commit into from
Apr 14, 2024

Conversation

backwardspy
Copy link
Contributor

@backwardspy backwardspy commented Apr 14, 2024

for whatever reason, my vscode remote server bin directory looks like this:

$ ll ~/.vscode-server/bin/
total 8
-rw-r--r-- 1 backwardspy users    1 Apr 14 13:49 compatibilty-check
drwxr-xr-x 6 backwardspy users 4096 Apr 14 14:35 e170252f762678dec6ca2cc69aba1570769a5d39

that "compatibilty-check" (sic) file caused the remote workaround script to fail as it is not a directory containing a node executable:

Started vscode-remote-workaround.service.
Fixing vscode-server in /home/backwardspy/.vscode-server/bin/compatibilty-check...
ln: failed to access '/home/backwardspy/.vscode-server/bin/compatibilty-check/node': Not a directory
vscode-remote-workaround.service: Main process exited, code=exited, status=1/FAILURE
vscode-remote-workaround.service: Failed with result 'exit-code'.

let me know if you'd prefer a different fix to the one i chose.

@LGUG2Z LGUG2Z merged commit 18ce8e1 into LGUG2Z:master Apr 14, 2024
1 check passed
@backwardspy backwardspy deleted the patch-1 branch April 14, 2024 15:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants