mirror of
https://github.com/ankitects/anki.git
synced 2026-01-14 06:23:57 -05:00
don't require trailing whitespace in .sql files
This commit is contained in:
parent
cdb85ef72e
commit
6769edaa58
1 changed files with 1 additions and 1 deletions
2
.github/scripts/trailing-newlines.sh
vendored
2
.github/scripts/trailing-newlines.sh
vendored
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue