Skip to content

Commit

Permalink
Put extra_paths in front of sys.path
Browse files Browse the repository at this point in the history
  • Loading branch information
Artem Sheldyaev committed Dec 13, 2024
1 parent eb61ccd commit 2e517d7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pylsp/workspace.py
Original file line number Diff line number Diff line change
Expand Up @@ -599,9 +599,9 @@ def sys_path(
)
path.extend(environment.get_sys_path())
if prioritize_extra_paths:
path += extra_paths + path
path = extra_paths + path
else:
path += path + extra_paths
path = path + extra_paths

return path

Expand Down

0 comments on commit 2e517d7

Please sign in to comment.