Skip to content

Commit

Permalink
fix: ignore no_unknown dialyzer warning
Browse files Browse the repository at this point in the history
  • Loading branch information
zachallaun committed Jul 16, 2024
1 parent ada3914 commit 73de2ee
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
1 change: 0 additions & 1 deletion lib/mix/tasks/mneme.watch.ex
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,6 @@ defmodule Mix.Tasks.Mneme.Watch do
Mix.Task.run(:test, cli_args)
end

@dialyzer {:no_unknown, recompile: 0}
defp recompile do
IEx.Helpers.recompile()

Check warning on line 149 in lib/mix/tasks/mneme.watch.ex

View workflow job for this annotation

GitHub Actions / lint (1.17, 27)

unknown_function

Function IEx.Helpers.recompile/0 does not exist.
end
Expand Down
3 changes: 2 additions & 1 deletion mix.exs
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,8 @@ defmodule Mneme.MixProject do
:underspecs,

# disable warnings:
:no_return
:no_return,
:no_unknown
]
]
end
Expand Down

0 comments on commit 73de2ee

Please sign in to comment.