Skip to content

Commit f224dd9

Browse files
committed
Avoid extra variable
1 parent d343175 commit f224dd9

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

.github/workflows/reusable-testing.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -422,8 +422,7 @@ jobs:
422422
423423
if [[ $WP_CLI_TEST_COVERAGE == 'true' ]]; then
424424
# The flag was only added in v3.17.0
425-
XDEBUG_FLAG=$(composer behat -- --help 2>/dev/null | grep xdebug)
426-
if [[ -n $XDEBUG_FLAG ]]; then
425+
if composer behat -- --help 2>/dev/null | grep xdebug; then
427426
ARGS+=("--xdebug")
428427
fi
429428
fi

0 commit comments

Comments
 (0)