chore(psk): fix dialyzer

This commit is contained in:
zhouzb 2021-09-24 14:26:46 +08:00
parent d391690505
commit 98ecafcceb
1 changed files with 8 additions and 8 deletions

View File

@ -106,14 +106,14 @@ stop() ->
%%--------------------------------------------------------------------
init(_Opts) ->
case get_config(enable) of
true -> load();
false -> ok
end,
case get_config(init_file) of
undefined -> ok;
BootFile -> import_psks(BootFile)
end,
_ = case get_config(enable) of
true -> load();
false -> ok
end,
_ = case get_config(init_file) of
undefined -> ok;
InitFile -> import_psks(InitFile)
end,
{ok, #{}}.
handle_call({import, SrcFile}, _From, State) ->