From be04dcec0e69c05ab678be5474b12356c1a28051 Mon Sep 17 00:00:00 2001 From: Kitzunu <24550914+Kitzunu@users.noreply.github.com> Date: Thu, 21 Jan 2021 10:20:33 +0100 Subject: [PATCH] chore(CI): Improve error message of check_pending_sql (#4081) --- .github/workflows/check_pending_sql.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/check_pending_sql.yml b/.github/workflows/check_pending_sql.yml index 9c5039100..73892a1f8 100644 --- a/.github/workflows/check_pending_sql.yml +++ b/.github/workflows/check_pending_sql.yml @@ -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