Skip to content

Commit

Permalink
don't require trailing whitespace in .sql files
Browse files Browse the repository at this point in the history
  • Loading branch information
dae committed Mar 20, 2020
1 parent 9ee82d5 commit 1f8a112
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/scripts/trailing-newlines.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 1f8a112

Please sign in to comment.