Skip to content

Commit

Permalink
Fix dialyzer warning and refresh ignore file
Browse files Browse the repository at this point in the history
  • Loading branch information
fhunleth committed Jan 22, 2025
1 parent 4c2fde8 commit 71d859e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .dialyzer_ignore.exs
Original file line number Diff line number Diff line change
@@ -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."}
]
2 changes: 1 addition & 1 deletion lib/nerves_livebook/wifi_monitor.ex
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ defmodule NervesLivebook.WiFiMonitor do
stop(state)

unconfigured?() ->
start_ap(state)
_ = start_ap(state)
stop(state)

true ->
Expand Down

0 comments on commit 71d859e

Please sign in to comment.