diff --git a/apps/language_server/lib/language_server/build.ex b/apps/language_server/lib/language_server/build.ex index 348ffc25e..2ce09a77f 100644 --- a/apps/language_server/lib/language_server/build.ex +++ b/apps/language_server/lib/language_server/build.ex @@ -214,7 +214,7 @@ defmodule ElixirLS.LanguageServer.Build do # We can get diagnostics if Mixfile fails to load {mixfile_status, mixfile_diagnostics} = - case Kernel.ParallelCompiler.compile([mixfile]) |> dbg do + case Kernel.ParallelCompiler.compile([mixfile]) do {:ok, _, warnings} -> {:ok, Enum.map(warnings, &Diagnostics.mixfile_diagnostic(&1, :warning))}