aboutsummaryrefslogtreecommitdiff
path: root/contrib
diff options
context:
space:
mode:
authorShauren <shauren.trinity@gmail.com>2023-09-22 21:11:58 +0200
committerShauren <shauren.trinity@gmail.com>2023-09-22 21:11:58 +0200
commitec8360c7474b84f2f84bf43d2ac573c7a24a9ab5 (patch)
tree9222e8fffc4b48d45026e154e6112b303d091ba6 /contrib
parent6d907da00eb6d926103bb633220d3d51e017c5e4 (diff)
Contrib/Scripts: Make check_codestyle script usable on sources checked out on windows
Diffstat (limited to 'contrib')
-rw-r--r--contrib/check_codestyle.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/check_codestyle.sh b/contrib/check_codestyle.sh
index 90ee421d973..d3544e058cb 100644
--- a/contrib/check_codestyle.sh
+++ b/contrib/check_codestyle.sh
@@ -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}'"