Skip to content

Commit

Permalink
fix formatting
Browse files Browse the repository at this point in the history
Signed-off-by: Jade Abraham <[email protected]>
  • Loading branch information
jabraham17 committed May 2, 2024
1 parent b726036 commit 79b2086
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tools/chpl-language-server/src/chpl-language-server.py
Original file line number Diff line number Diff line change
Expand Up @@ -1044,7 +1044,8 @@ def get_file_info(
self.file_infos[uri] = file_info

# filter out errors that are not related to the file
errors = [e for e in errors if e.location().path() == uri[len("file://") :]]
cur_path = uri[len("file://") :]
errors = [e for e in errors if e.location().path() == cur_path]

return (file_info, errors)

Expand Down

0 comments on commit 79b2086

Please sign in to comment.