Skip to content

Commit

Permalink
Avoid resolving symlinks (#256)
Browse files Browse the repository at this point in the history
  • Loading branch information
karthiknadig committed Sep 14, 2024
1 parent b650622 commit d4de647
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bundled/tool/lsp_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ def normalize_path(file_path: str) -> str:

def absolute_path(file_path: str) -> str:
"""Returns absolute path without symlink resolve."""
return str(pathlib.Path(file_path).resolve())
return str(pathlib.Path(file_path).absolute())


def is_current_interpreter(executable) -> bool:
Expand Down

0 comments on commit d4de647

Please sign in to comment.