Skip to content

Commit

Permalink
fix(vscode): only replace node link if it exists
Browse files Browse the repository at this point in the history
  • Loading branch information
backwardspy authored and LGUG2Z committed Apr 14, 2024
1 parent b7682cf commit 18ce8e1
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions wsl.nix
Original file line number Diff line number Diff line change
Expand Up @@ -86,8 +86,10 @@
# };
# services.vscode-remote-workaround.script = ''
# for i in ~/.vscode-server/bin/*; do
# echo "Fixing vscode-server in $i..."
# ln -sf ${pkgs.nodejs_18}/bin/node $i/node
# if [ -e $i/node ]; then
# echo "Fixing vscode-server in $i..."
# ln -sf ${pkgs.nodejs_18}/bin/node $i/node
# fi
# done
# '';
# };
Expand Down

0 comments on commit 18ce8e1

Please sign in to comment.