Skip to content

Commit

Permalink
Contrib/Scripts: Make check_codestyle script usable on sources checke…
Browse files Browse the repository at this point in the history
…d out on windows
  • Loading branch information
Shauren committed Sep 22, 2023
1 parent 6d907da commit ec8360c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion contrib/check_codestyle.sh
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +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"
["\r?\n\r?\n\r?\n"]="Multiple blank lines detected, keep only one. Check the files above"
)
for check in ${!multiLineRegexChecks[@]}; do
echo " Checking RegEx: '${check}'"
Expand Down

0 comments on commit ec8360c

Please sign in to comment.