24
1
mirror of https://github.com/processone/ejabberd.git synced 2024-06-16 22:05:29 +02:00

Try to remove syntax error on old elixir

This commit is contained in:
Paweł Chmielowski 2019-01-02 13:22:35 +01:00
parent fb681828d6
commit b318c70401

View File

@ -65,7 +65,7 @@ defmodule Mix.Tasks.Ejabberd.Deps.Tree do
defp keep_only_mods_not_used_as_dep(mods, mods_used_as_dep) do defp keep_only_mods_not_used_as_dep(mods, mods_used_as_dep) do
Enum.filter mods, fn %{module: mod} -> Enum.filter mods, fn %{module: mod} ->
mod not in mods_used_as_dep not (mod in mods_used_as_dep)
end end
end end