Skip to content

Commit

Permalink
Allow reinstall when ddev-generated line is removed from tests/backst…
Browse files Browse the repository at this point in the history
…op/.gitignore
  • Loading branch information
mmunz committed Jan 28, 2024
1 parent c011de2 commit cd96416
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion install.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: ddev-backstopjs
pre_install_actions:
- test -d ${DDEV_APPROOT}/tests/backstop || mkdir -p ${DDEV_APPROOT}/tests/backstop
- test -f "${DDEV_APPROOT}/tests/backstop/.gitignore" || printf "## ddev-generated\n**/bitmaps_test\n**/html_report\n" > ${DDEV_APPROOT}/tests/backstop/.gitignore
- grep -q "## ddev-generated" ${DDEV_APPROOT}/tests/backstop/.gitignore && printf "## ddev-generated\n**/bitmaps_test\n**/html_report\n" > ${DDEV_APPROOT}/tests/backstop/.gitignore
- grep -q "## ddev-generated" ${DDEV_APPROOT}/tests/backstop/.gitignore && printf "## ddev-generated\n**/bitmaps_test\n**/html_report\n" > ${DDEV_APPROOT}/tests/backstop/.gitignore || true


# list of files and directories listed that are copied into project .ddev directory
Expand Down

0 comments on commit cd96416

Please sign in to comment.