From: Paweł Chmielowski Date: Wed, 2 Jan 2019 12:22:35 +0000 (+0100) Subject: Try to remove syntax error on old elixir X-Git-Tag: 19.02~75 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=b318c704010710d8229d3f378056b336e1d1084a;p=ejabberd Try to remove syntax error on old elixir --- diff --git a/lib/mix/tasks/deps.tree.ex b/lib/mix/tasks/deps.tree.ex index 50189c3d2..9937270cd 100644 --- a/lib/mix/tasks/deps.tree.ex +++ b/lib/mix/tasks/deps.tree.ex @@ -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 Enum.filter mods, fn %{module: mod} -> - mod not in mods_used_as_dep + not (mod in mods_used_as_dep) end end