diff --git a/apps/language_server/lib/language_server/server.ex b/apps/language_server/lib/language_server/server.ex index d10be5327..21371d771 100644 --- a/apps/language_server/lib/language_server/server.ex +++ b/apps/language_server/lib/language_server/server.ex @@ -1788,7 +1788,8 @@ defmodule ElixirLS.LanguageServer.Server do IO.warn("Invalid `dialyzerWarnOpts` #{inspect(dialyzer_warn_opts)}") end - all_warns = ElixirLS.LanguageServer.Dialyzer.Analyzer.all_warns() |> Enum.map(&to_string/1) + all_warns = + ElixirLS.LanguageServer.Dialyzer.Analyzer.all_warns() |> Enum.map(&to_string/1) for opt <- dialyzer_warn_opts, opt not in all_warns do Logger.error("Invalid `dialyzerWarnOpts`: unknown warning option `#{opt}`")