mirror of
https://github.com/ankitects/anki.git
synced 2025-09-18 22:12:21 -04:00
10 lines
207 B
Bash
Executable file
10 lines
207 B
Bash
Executable file
#!/bin/bash
|
|
|
|
set -e
|
|
|
|
files=$(rg -l '[^\n]\z' -g '!*.{svg,scss,json}' || true)
|
|
if [ "$files" != "" ]; then
|
|
echo "the following files are missing a newline on the last line:"
|
|
echo $files
|
|
exit 1
|
|
fi
|