mirror of
https://github.com/iptv-org/database.git
synced 2025-05-09 19:20:01 -04:00
7 lines
No EOL
181 B
Bash
7 lines
No EOL
181 B
Bash
#!/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 |