From 1f8a1126a4f0edaffe7a84f74b3468e56a51ac47 Mon Sep 17 00:00:00 2001 From: Damien Elmes Date: Sat, 21 Mar 2020 07:49:44 +1000 Subject: [PATCH] don't require trailing whitespace in .sql files --- .github/scripts/trailing-newlines.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/scripts/trailing-newlines.sh b/.github/scripts/trailing-newlines.sh index e2009df8c..332e65280 100755 --- a/.github/scripts/trailing-newlines.sh +++ b/.github/scripts/trailing-newlines.sh @@ -2,7 +2,7 @@ set -e -files=$(rg -l '[^\n]\z' -g '!*.{svg,scss,json}' || true) +files=$(rg -l '[^\n]\z' -g '!*.{svg,scss,json,sql}' || true) if [ "$files" != "" ]; then echo "the following files are missing a newline on the last line:" echo $files