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 e4576de commit e0e682bCopy full SHA for e0e682b
apps/language_server/lib/language_server/diagnostics.ex
@@ -14,15 +14,10 @@ defmodule ElixirLS.LanguageServer.Diagnostics do
14
end
15
16
17
- defp extract_message_info(list, root_path) when is_list(list) do
18
- list
19
- |> Enum.join()
20
- |> extract_message_info(root_path)
21
- end
22
-
23
defp extract_message_info(diagnostic_message, root_path) do
24
{reversed_stacktrace, reversed_description} =
25
diagnostic_message
+ |> IO.chardata_to_string()
26
|> String.trim_trailing()
27
|> SourceFile.lines()
28
|> Enum.reverse()
0 commit comments