Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: Resolve symlinks before attempting to find module name from file (…
…#263) The file name that is passed to the function might be a symlink. Example: In Fedora SilverBlue, `/home/` is a symlink to `/var/home`. If you have a home folder (along with VSCode settings) that comes from a backed up system where home is `/home`, VSCode will pass the file name with `/home` as root, not `/var/home`, causing this script to fail. This avoids that.
- Loading branch information