don't require trailing whitespace in .sql files

This commit is contained in:
Damien Elmes 2020-03-21 07:49:44 +10:00
parent 9ee82d55b1
commit 1f8a1126a4

View File

@ -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