Skip to content

Commit 5befab3

Browse files
authored
fix type of resolved_path
1 parent 7fd409c commit 5befab3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bundled/tool/lsp_server.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -737,7 +737,7 @@ def _run_tool_on_document(
737737

738738
# pygls normalizes the path to lowercase on windows, but we need to resolve the
739739
# correct capitalization to avoid https://github.com/pylint-dev/pylint/issues/10137
740-
resolved_path = pathlib.Path(document.path).resolve()
740+
resolved_path = str(pathlib.Path(document.path).resolve())
741741

742742
if use_stdin:
743743
argv += ["--from-stdin", resolved_path]

0 commit comments

Comments
 (0)