Amend previous commit: only Rebar2 needs this override

and that override, when using Rebar3,
breaks Dialyzer for mod_avatar and mod_http_upload
This commit is contained in:
Badlop
2026-01-21 22:39:52 +01:00
parent bd3c805e67
commit f417b9f7c3
+3 -1
View File
@@ -157,7 +157,9 @@
%% Compiling Jose 1.11.10 with Erlang/OTP 27.0 throws warnings on public_key deprecated functions
{if_rebar3, {overrides, [{del, jose, [{erl_opts, [warnings_as_errors]}]}]}}.
{overrides, [{del, erlydtl, [{require_otp_vsn, "18"}]}]}.
{if_not_rebar3,
{overrides, [{del, erlydtl, [{require_otp_vsn, "18"}]}]}
}.
{sub_dirs, ["rel"]}.