Code-server: When a symbolic link is broken the opening folder don't work

Created on 28 Apr 2019  路  4Comments  路  Source: cdr/code-server


  • code-server version: 1.939-vsc1.33.1
  • OS Version: Ubuntu 18.04

Description


When a symbolic link is broken inside a folder, the opening of a folder does not work just crash and brings an error in console about ENOENT Can't open directory

Steps to Reproduce

  1. Create a Symbolic link and point it to a file
  2. Delete that file and then you will have a Symbolic link
  3. Start coder and then try to open the folder where this broken symbolic link is present

You will get as result that the box closes.

bug

Most helpful comment

All 4 comments

A workaround is deleting the symbolic link, however my point of view is that the folder should be opened even there are symbolic links broken and coder just ignore them.

Will fix! Thanks for the report.

Awesome !

Was this page helpful?
0 / 5 - 0 ratings

Related issues

pchecinski picture pchecinski  路  3Comments

oonqt picture oonqt  路  3Comments

RealSlimMahdi picture RealSlimMahdi  路  3Comments

chrischabot picture chrischabot  路  3Comments

nol166 picture nol166  路  3Comments