sadesyllas / vscode-workspace-switcher

Easily switch between workspaces
GNU General Public License v3.0
28 stars 8 forks source link

Issues when the workspaces directory is a symlink #15

Closed ehmicky closed 5 years ago

ehmicky commented 5 years ago

Directories in vscodeWorkspaceSwitcher.paths are skipped if they are a symlink, which is probably a bug. This is because of using fs.lstat() instead of fs.stat().

For information, my workspaces directory is symlinked to a separate partition that is backed up from times to times.

sadesyllas commented 5 years ago

Please, update to v1.10.2.

fs.statSync is now being used and symlinks should work as expected.

ehmicky commented 5 years ago

Thanks this works!