aboutsummaryrefslogtreecommitdiff
path: root/mix.exs
diff options
context:
space:
mode:
authorPaweł Chmielowski <pawel@process-one.net>2022-04-08 18:26:07 +0200
committerPaweł Chmielowski <pawel@process-one.net>2022-04-08 18:26:07 +0200
commit5744d44e68a0b5da76cb8b8afe5177d6cbdb4b54 (patch)
tree5d23525388f41271df11c3dd0aae2181201f0c9b /mix.exs
parentAdd rate limited delete_old_messages (diff)
Fix compatibility with older mix versions
Diffstat (limited to 'mix.exs')
-rw-r--r--mix.exs2
1 files changed, 1 insertions, 1 deletions
diff --git a/mix.exs b/mix.exs
index 4d1c451dc..461ae29c9 100644
--- a/mix.exs
+++ b/mix.exs
@@ -185,7 +185,7 @@ defmodule Ejabberd.MixProject do
end
defp elixir_required_version do
- case {System.get_env("RELIVE", "false"),
+ case {Map.get(System.get_env(), "RELIVE", "false"),
MapSet.member?(MapSet.new(System.argv()), "release")}
do
{"true", _} ->