mirror of
https://github.com/araxiaonline/TrinityCore.git
synced 2026-06-13 03:32:28 -04:00
Contrib/Scripts: Make check_codestyle script usable on sources checked out on windows
This commit is contained in:
@@ -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}'"
|
||||
|
||||
Reference in New Issue
Block a user