25
1
mirror of https://github.com/processone/ejabberd.git synced 2024-12-20 17:27:00 +01:00

Fix Elvis report: Remove spaces in weird places

https://github.com/inaka/elvis_core/blob/main/doc_rules/elvis_style/no_space.md
This commit is contained in:
Badlop 2024-08-26 11:28:54 +02:00
parent 74b80bfe08
commit 0304428d95
9 changed files with 11 additions and 12 deletions

View File

@ -142,8 +142,8 @@ mod_opt_type(servers) ->
econf:options(
#{
certfile => econf:pem()
}, [{return, map}])
)}, [{return, map}]),
}, [{return, map}]))},
[{return, map}]),
[{return, map}]),
fun(Servers) ->
maps:fold(

View File

@ -39,9 +39,8 @@ get_nameservers() ->
is_good_ns(Addr) ->
element(1,
inet_res:nnslookup("a.root-servers.net", in, a, [{Addr,53}],
timer:seconds(5)
)
) =:= ok.
timer:seconds(5)))
=:= ok.
reg() ->
{ok, R} = win32reg:open([read]),