Skip to content

Commit 3ec3fae

Browse files
committed
Limit arguments passed at a time
1 parent addec92 commit 3ec3fae

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/scripts/run_affected_tests

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ main() {
122122
for package in ${packages}; do
123123
echo "Finding packages which depend on '${package}'..."
124124
escaped_package=$(echo "$package" | sed 's/[\/&]/\\&/g')
125-
dependents=$(find lib/node_modules/@stdlib -type f -name '*.js' -print0 | xargs -0 grep -ol -E "require\( [']${escaped_package}['] \)")
125+
dependents=$(find lib/node_modules/@stdlib -type f -name '*.js' -print0 | xargs -0 -L 200 grep -ol -E "require\( [']${escaped_package}['] \)")
126126
echo "Found: ${dependents}"
127127
if [ -n "${dependents}" ]; then
128128
dependents=$(dirname $dependents | sed -E 's/\/(bin|data|etc|include|lib|src|test)\/?$//' | sort -u)

0 commit comments

Comments
 (0)