Skip to content

Commit

Permalink
Fix the sed call
Browse files Browse the repository at this point in the history
  • Loading branch information
felipeelia committed Dec 11, 2024
1 parent 9828904 commit 522527e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bin/setup-cypress-env.sh
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ fi

# Fix the debug-bar-elasticpress dependency of ElasticPress
./bin/wp-env-cli tests-wordpress "wp --allow-root plugin install debug-bar-elasticpress"
sed -i "s/Requires Plugins: elasticpress/Requires Plugins: $PLUGIN_NAME" /var/www/html/wp-content/plugins/debug-bar-elasticpress/debug-bar-elasticpress.php
sed -i "s/Requires Plugins: elasticpress/Requires Plugins: $PLUGIN_NAME/" /var/www/html/wp-content/plugins/debug-bar-elasticpress/debug-bar-elasticpress.php
./bin/wp-env-cli tests-wordpress "wp --allow-root plugin activate debug-bar-elasticpress"

if [ ! -z $WP_VERSION ]; then
Expand Down

0 comments on commit 522527e

Please sign in to comment.