mirror of
https://github.com/processone/ejabberd
synced 2025-10-04 10:19:31 +02: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:
parent
74b80bfe08
commit
0304428d95
9 changed files with 11 additions and 12 deletions
|
@ -542,7 +542,7 @@ log(Call, Args, IP) ->
|
|||
?INFO_MSG("API call ~ts ~p (~p)", [Call, hide_sensitive_args(Args), IP]).
|
||||
|
||||
hide_sensitive_args(Args=[_H|_T]) ->
|
||||
lists:map( fun({<<"password">>, Password}) -> {<<"password">>, ejabberd_config:may_hide_data(Password)};
|
||||
lists:map(fun({<<"password">>, Password}) -> {<<"password">>, ejabberd_config:may_hide_data(Password)};
|
||||
({<<"newpass">>,NewPassword}) -> {<<"newpass">>, ejabberd_config:may_hide_data(NewPassword)};
|
||||
(E) -> E end,
|
||||
Args);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue