aboutsummaryrefslogtreecommitdiff
path: root/contrib
diff options
context:
space:
mode:
authorjackpoz <giacomopoz@gmail.com>2021-01-03 11:50:56 +0100
committerjackpoz <giacomopoz@gmail.com>2021-01-03 11:50:56 +0100
commited975ef4c0e614addc069785f23c1b7f522f3b8e (patch)
tree24837c6afc7d47d0f1bb8e529e00c335670f8de5 /contrib
parenta32b6b8ac4c81128a56b282f20837fb085bdd9e7 (diff)
CI/Circle CI: Add codestyle check
Don't leave 2 blank lines, 1 is enough.
Diffstat (limited to 'contrib')
-rw-r--r--contrib/check_codestyle.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/contrib/check_codestyle.sh b/contrib/check_codestyle.sh
index 4787f2a19dc..90ee421d973 100644
--- a/contrib/check_codestyle.sh
+++ b/contrib/check_codestyle.sh
@@ -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}'"