mirror of
https://github.com/iptv-org/epg.git
synced 2025-05-09 08:30:06 -04:00
7 lines
No EOL
229 B
Bash
Executable file
7 lines
No EOL
229 B
Bash
Executable file
#!/bin/sh
|
|
|
|
channels_changed="$(git diff --staged --name-only --diff-filter=ACMR -- 'sites/**/*.channels.xml' | sed 's| |\\ |g')"
|
|
|
|
if [ ! -z "$channels_changed" ]; then
|
|
npm run channels:validate -- $channels_changed
|
|
fi |