mirror of
https://github.com/iptv-org/epg.git
synced 2025-05-09 00:20:08 -04:00
Update scripts_lint.sh
This commit is contained in:
parent
96faa53325
commit
f55f2bc807
1 changed files with 0 additions and 1 deletions
|
@ -3,6 +3,5 @@
|
|||
scripts_changed="$(git diff --staged --name-only --diff-filter=ACMR -- 'tests/**/*.ts' 'tests/**/*.js' 'scripts/**/*.ts' 'scripts/**/*.mts' 'scripts/**/*.js' 'sites/**/*.js' 'sites/**/*.ts' | sed 's| |\\ |g')"
|
||||
|
||||
if [ ! -z "$scripts_changed" ]; then
|
||||
echo "npx eslint $scripts_changed"
|
||||
npx eslint $scripts_changed
|
||||
fi
|
Loading…
Add table
Add a link
Reference in a new issue