Explorar o código

chore: fix dialyzer warning.

Zhongwen Deng %!s(int64=3) %!d(string=hai) anos
pai
achega
d73f22181d
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  1. 1 0
      apps/emqx_management/src/emqx_mgmt.erl

+ 1 - 0
apps/emqx_management/src/emqx_mgmt.erl

@@ -19,6 +19,7 @@
 -include("emqx_mgmt.hrl").
 -include("emqx_mgmt.hrl").
 -elvis([{elvis_style, invalid_dynamic_call, disable}]).
 -elvis([{elvis_style, invalid_dynamic_call, disable}]).
 -elvis([{elvis_style, god_modules, disable}]).
 -elvis([{elvis_style, god_modules, disable}]).
+-dialyzer({nowarn_function, edition/0}).
 
 
 -include_lib("stdlib/include/qlc.hrl").
 -include_lib("stdlib/include/qlc.hrl").
 -include_lib("emqx/include/emqx.hrl").
 -include_lib("emqx/include/emqx.hrl").