CI/Circle CI: Add codestyle check

Don't leave 2 blank lines, 1 is enough.

(cherry picked from commit ed975ef4c0e614addc069785f23c1b7f522f3b8e)
This commit is contained in:
jackpoz
2022-03-05 21:13:38 +01:00
committed by Shauren
parent 8514164d43
commit f32a7ed27d
+1
View File
@@ -21,6 +21,7 @@ done
declare -A multiLineRegexChecks=(
["TC_LOG_[^;]+GetCounter"]="Use ObjectGuid::ToString().c_str() method instead of ObjectGuid::GetCounter() when logging. Check the lines above"
["\n\n\n"]="Multiple blank lines detected, keep only one. Check the files above"
)
for check in ${!multiLineRegexChecks[@]}; do
echo " Checking RegEx: '${check}'"