Skip to content

Commit

Permalink
Fix putting extra_paths in front of sys.path (#608)
Browse files Browse the repository at this point in the history
  • Loading branch information
cmashinho authored Feb 6, 2025
1 parent 63087dd commit a3c7919
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 a3c7919

Please sign in to comment.