25
1
mirror of https://github.com/processone/ejabberd.git synced 2024-10-19 15:32:08 +02: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:
Badlop 2024-08-26 11:29:05 +02:00
parent 0304428d95
commit db6d3e63f2
2 changed files with 2 additions and 2 deletions

View File

@ -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()},

View File

@ -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 ->