diff --git a/.dialyzer_ignore.exs b/.dialyzer_ignore.exs index eb310e6..d78f743 100644 --- a/.dialyzer_ignore.exs +++ b/.dialyzer_ignore.exs @@ -1,7 +1,7 @@ # .dialyzer_ignore.exs # # See https://github.com/jeremyjh/dialyxir#elixir-term-format +# Run "MIX_TARGET=host mix dialyzer --format short" [ - {"lib/nerves_livebook/fwup.ex", :no_return, 31}, - {"lib/nerves_livebook/application.ex", :pattern_match, 99} + {"lib/nerves_livebook/fwup.ex:31:17:no_return The created anonymous function has no local return."} ] diff --git a/lib/nerves_livebook/wifi_monitor.ex b/lib/nerves_livebook/wifi_monitor.ex index 1ebe772..6cd0109 100644 --- a/lib/nerves_livebook/wifi_monitor.ex +++ b/lib/nerves_livebook/wifi_monitor.ex @@ -55,7 +55,7 @@ defmodule NervesLivebook.WiFiMonitor do stop(state) unconfigured?() -> - start_ap(state) + _ = start_ap(state) stop(state) true ->