Skip to content

Commit 8f03870

Browse files
committed
fix: clean up hard to read line
1 parent 95f8c93 commit 8f03870

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

apps/language_server/lib/language_server.ex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,7 @@ defmodule ElixirLS.LanguageServer do
145145
elixir_sources_available =
146146
# handle possible nil from deterministic build of elixir
147147
unless enum_ex_path && File.exists?(enum_ex_path, [:raw]) do
148-
dir = Path.join(enum_ex_path || ~c"/", "../../../..") |> Path.expand()
148+
dir = (enum_ex_path || ~c"/") |> Path.join("../../../..") |> Path.expand()
149149

150150
Logger.notice(
151151
"Elixir sources not found (checking in #{dir}). Code navigation to Elixir modules disabled."

0 commit comments

Comments
 (0)