Skip to content

Commit

Permalink
format
Browse files Browse the repository at this point in the history
  • Loading branch information
lukaszsamson committed May 21, 2024
1 parent d2aa3d2 commit 2d4d6da
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion apps/language_server/lib/language_server/server.ex
Original file line number Diff line number Diff line change
Expand Up @@ -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}`")
Expand Down

0 comments on commit 2d4d6da

Please sign in to comment.