Skip to content

Commit d6a8d94

Browse files
Merge pull request #491 from Yoast/fix-coverage-wp-env-script-for-macos
Fix expansion for older Bash versions
2 parents 6090dc5 + 9af450f commit d6a8d94

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
@@ -153,4 +153,4 @@ npx wp-env run cli \
153153
-- env $ENV_PREFIX \
154154
php vendor/phpunit/phpunit/phpunit \
155155
-c phpunit-wp.xml.dist \
156-
"${PHPUNIT_ARGS[@]}"
156+
${PHPUNIT_ARGS[@]+"${PHPUNIT_ARGS[@]}"}

0 commit comments

Comments
 (0)