mirror of
https://github.com/processone/ejabberd.git
synced 2024-12-20 17:27:00 +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_max_count => LogBurstLimitCount},
|
||||
FmtConfig = #{legacy_header => false,
|
||||
time_designator => $ ,
|
||||
time_designator => $\s,
|
||||
max_size => 100*1024,
|
||||
single_line => false},
|
||||
FileFmtConfig = FmtConfig#{template => file_template()},
|
||||
|
@ -1180,7 +1180,7 @@ pretty_print_xml({xmlcdata, CData}, Prefix) ->
|
||||
($\n) -> true;
|
||||
($\t) -> true;
|
||||
($\v) -> true;
|
||||
($ ) -> true;
|
||||
($\s) -> true;
|
||||
(_) -> false
|
||||
end, binary_to_list(CData)),
|
||||
if IsBlankCData ->
|
||||
|
Loading…
Reference in New Issue
Block a user