mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-01-24 22:26:22 +00:00
chore(CI): Improve error message of check_pending_sql (#4081)
This commit is contained in:
4
.github/workflows/check_pending_sql.yml
vendored
4
.github/workflows/check_pending_sql.yml
vendored
@@ -1,4 +1,4 @@
|
||||
name: Check pending sql for Procedure/Function
|
||||
name: Check pending SQL
|
||||
on:
|
||||
pull_request:
|
||||
|
||||
@@ -20,7 +20,7 @@ jobs:
|
||||
run: |
|
||||
for i in `find data/sql/updates/pending* -name "*.sql" -type f`; do
|
||||
if [[ $(cat "$i"|sed 's/ --.*$//'|tr -d '\n'|tail -c 1) != ";" ]]; then
|
||||
echo "Missing Semicolon at the end of the file. (;)"
|
||||
echo "Missing Semicolon (;) or multiple newlines at the end of the file."
|
||||
exit 1
|
||||
else
|
||||
exit 0
|
||||
|
||||
Reference in New Issue
Block a user