We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 95f8c93 commit 8f03870Copy full SHA for 8f03870
apps/language_server/lib/language_server.ex
@@ -145,7 +145,7 @@ defmodule ElixirLS.LanguageServer do
145
elixir_sources_available =
146
# handle possible nil from deterministic build of elixir
147
unless enum_ex_path && File.exists?(enum_ex_path, [:raw]) do
148
- dir = Path.join(enum_ex_path || ~c"/", "../../../..") |> Path.expand()
+ dir = (enum_ex_path || ~c"/") |> Path.join("../../../..") |> Path.expand()
149
150
Logger.notice(
151
"Elixir sources not found (checking in #{dir}). Code navigation to Elixir modules disabled."
0 commit comments