Skip to content

Commit a20a58f

Browse files
committed
build: ignore nested fixture directories
1 parent da6b4cb commit a20a58f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tools/git/hooks/pre-push

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -275,7 +275,7 @@ main() {
275275
fi
276276
# Run JavaScript test files...
277277
if [[ -z "${skip_javascript_tests}" ]]; then
278-
files=$(echo "${changed_files}" | grep '/test/.*\.js$' | grep -v '/test/fixtures/.*\.js$' | tr '\n' ' ')
278+
files=$(echo "${changed_files}" | grep '/test/.*\.js$' | grep -v '/test/fixtures/.*\.js$' | grep -v '/test/.*/fixtures/.*\.js$' | tr '\n' ' ')
279279
if [[ -n "${files}" ]]; then
280280
echo 'Running JavaScript test files...' >&2
281281
make FILES="${files}" test-javascript-files > /dev/null >&2

0 commit comments

Comments
 (0)