mirror of
https://github.com/processone/ejabberd.git
synced 2024-12-22 17:28:25 +01:00
Fix Elvis report: Fix dollar space syntax
https://github.com/inaka/elvis_core/blob/main/doc_rules/elvis_style/no_dollar_space.md
This commit is contained in:
parent
0304428d95
commit
db6d3e63f2
@ -283,7 +283,7 @@ start(Level) ->
|
|||||||
burst_limit_window_time => LogBurstLimitWindowTime,
|
burst_limit_window_time => LogBurstLimitWindowTime,
|
||||||
burst_limit_max_count => LogBurstLimitCount},
|
burst_limit_max_count => LogBurstLimitCount},
|
||||||
FmtConfig = #{legacy_header => false,
|
FmtConfig = #{legacy_header => false,
|
||||||
time_designator => $ ,
|
time_designator => $\s,
|
||||||
max_size => 100*1024,
|
max_size => 100*1024,
|
||||||
single_line => false},
|
single_line => false},
|
||||||
FileFmtConfig = FmtConfig#{template => file_template()},
|
FileFmtConfig = FmtConfig#{template => file_template()},
|
||||||
|
@ -1180,7 +1180,7 @@ pretty_print_xml({xmlcdata, CData}, Prefix) ->
|
|||||||
($\n) -> true;
|
($\n) -> true;
|
||||||
($\t) -> true;
|
($\t) -> true;
|
||||||
($\v) -> true;
|
($\v) -> true;
|
||||||
($ ) -> true;
|
($\s) -> true;
|
||||||
(_) -> false
|
(_) -> false
|
||||||
end, binary_to_list(CData)),
|
end, binary_to_list(CData)),
|
||||||
if IsBlankCData ->
|
if IsBlankCData ->
|
||||||
|
Loading…
Reference in New Issue
Block a user