Skip to content

Commit

Permalink
Use DDEV_APPROOT to execute in whole project
Browse files Browse the repository at this point in the history
  • Loading branch information
Fredrik Lassen committed Dec 11, 2024
1 parent ae3e939 commit 38f8512
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion commands/host/1x-playwright
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ ddev_hostname () {
playwright_installed_inside_ddev=`ddev add-on list --installed -j | ${jq_command} -c '.raw[] | select(.Name | contains("playwright"))'`
if [ -z "${playwright_installed_inside_ddev}" ]; then
echo "Notice: Using playwright on host!"
cd test/playwright
cd $DDEV_APPROOT/test/playwright
npx playwright "${@:1}"
else
echo "Note: Using playwright inside ddev container!"
Expand Down

0 comments on commit 38f8512

Please sign in to comment.