Skip to content

Commit

Permalink
fix: correctly coerce root_uri into workspace folders (#275)
Browse files Browse the repository at this point in the history
  • Loading branch information
mhanberg committed Oct 5, 2023
1 parent a0af2dc commit 960c9aa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/next_ls.ex
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ defmodule NextLS do
if caps.workspace.workspace_folders do
workspace_folders
else
%{name: Path.basename(root_uri), uri: root_uri}
[%{name: Path.basename(root_uri), uri: root_uri}]
end

{:ok, init_opts} = __MODULE__.InitOpts.validate(init_opts)
Expand Down

0 comments on commit 960c9aa

Please sign in to comment.