From 8a0ca38a772d9f30a8db623d1c09288bf912bb88 Mon Sep 17 00:00:00 2001 From: Andrew Mayorov Date: Mon, 12 Dec 2022 10:33:01 +0300 Subject: [PATCH] fix: drop no longer supported dialyzer option --- apps/emqx/rebar.config | 2 +- apps/emqx_resource/rebar.config | 4 ---- 2 files changed, 1 insertion(+), 5 deletions(-) diff --git a/apps/emqx/rebar.config b/apps/emqx/rebar.config index ff27566ec..4c00d7f23 100644 --- a/apps/emqx/rebar.config +++ b/apps/emqx/rebar.config @@ -50,7 +50,7 @@ ]}. {dialyzer, [ - {warnings, [unmatched_returns, error_handling, race_conditions]}, + {warnings, [unmatched_returns, error_handling]}, {plt_location, "."}, {plt_prefix, "emqx_dialyzer"}, {plt_apps, all_apps}, diff --git a/apps/emqx_resource/rebar.config b/apps/emqx_resource/rebar.config index e6857829f..929514ddd 100644 --- a/apps/emqx_resource/rebar.config +++ b/apps/emqx_resource/rebar.config @@ -10,10 +10,6 @@ {extra_src_dirs, ["examples"]}. -%% try to override the dialyzer 'race_conditions' defined in the top-level dir, -%% but it doesn't work -{dialyzer, [{warnings, [unmatched_returns, error_handling]}]}. - {deps, [ {jsx, {git, "https://github.com/talentdeficit/jsx", {tag, "v3.1.0"}}}, {emqx, {path, "../emqx"}}