mirror of
https://github.com/ankitects/anki.git
synced 2025-09-23 08:22:24 -04:00
ignore .json files
This commit is contained in:
parent
d9923b12ba
commit
2ed7e3d1cd
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
|
set -e
|
||||||
|
|
||||||
files=$(rg -l '[^\n]\z' -g '!*.{svg,scss}' || true)
|
files=$(rg -l '[^\n]\z' -g '!*.{svg,scss,json}' || true)
|
||||||
if [ "$files" != "" ]; then
|
if [ "$files" != "" ]; then
|
||||||
echo "the following files are missing a newline on the last line:"
|
echo "the following files are missing a newline on the last line:"
|
||||||
echo $files
|
echo $files
|
||||||
|
|
Loading…
Reference in a new issue