File tree Expand file tree Collapse file tree 2 files changed +5
-1
lines changed Expand file tree Collapse file tree 2 files changed +5
-1
lines changed Original file line number Diff line number Diff line change 22
33## Unreleased
44
5+ - Fix Windows path handling regression introduced in 1.32.1 by using
6+ ` Uri.fsPath ` instead of ` Uri.path ` in workspace root detection, preventing
7+ LSP start failures (` ENOENT -4058 ` ). (#1929 )
8+
59## 1.32.1
610
711- Fix DPM error when invoking ` ocamlc --version ` without a working directory by
Original file line number Diff line number Diff line change @@ -62,7 +62,7 @@ let workspace_root () =
6262 match Workspace. workspaceFolders () with
6363 | [] -> None
6464 | [ workspace_folder ] ->
65- Some (workspace_folder |> WorkspaceFolder. uri |> Uri. path |> Path. of_string)
65+ Some (workspace_folder |> WorkspaceFolder. uri |> Uri. fsPath |> Path. of_string)
6666 | _ ->
6767 (* We don't support multiple workspace roots at the moment *)
6868 None
You can’t perform that action at this time.
0 commit comments