Skip to content

Commit f55f2bc

Browse files
committed
Update scripts_lint.sh
1 parent 96faa53 commit f55f2bc

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

.husky/scripts_lint.sh

-1
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,5 @@
33
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')"
44

55
if [ ! -z "$scripts_changed" ]; then
6-
echo "npx eslint $scripts_changed"
76
npx eslint $scripts_changed
87
fi

0 commit comments

Comments
 (0)