mirror of
https://github.com/iptv-org/database.git
synced 2025-05-09 19:20:01 -04:00
Update pre-commit
This commit is contained in:
parent
6244ba7adb
commit
bce6445364
1 changed files with 7 additions and 1 deletions
|
@ -1 +1,7 @@
|
|||
npm run db:validate
|
||||
#!/bin/sh
|
||||
|
||||
data_changed="$(git diff --staged --name-only --diff-filter=ACMR -- 'data/*.csv' | sed 's| |\\ |g')"
|
||||
|
||||
if [ ! -z "$data_changed" ]; then
|
||||
npm run db:validate
|
||||
fi
|
Loading…
Add table
Add a link
Reference in a new issue