Skip to content

Commit 8124863

Browse files
Merge pull request #23163 from Yoast/fix-coverage-wp-env-script-for-macos
Fix expansion for older Bash versions
2 parents fcdd9be + ce4af1f commit 8124863

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

config/scripts/run-wp-env-tests.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -155,4 +155,4 @@ npx wp-env run cli \
155155
-- env $ENV_PREFIX \
156156
php vendor/phpunit/phpunit/phpunit \
157157
-c phpunit-wp.xml.dist \
158-
"${PHPUNIT_ARGS[@]}"
158+
${PHPUNIT_ARGS[@]+"${PHPUNIT_ARGS[@]}"}

0 commit comments

Comments
 (0)