Skip to content

Commit

Permalink
Use rm -rf to delete composer lock file so it wont error if missing (#71
Browse files Browse the repository at this point in the history
)
  • Loading branch information
weitzman authored Aug 9, 2024
1 parent 0b5d1ef commit 4e20936
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion commands/web/poser
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,6 @@
export COMPOSER=composer.contrib.json
.ddev/commands/web/expand-composer-json "$DDEV_PROJECT_NAME"
composer install
rm composer.contrib.json composer.contrib.lock
# The -f flag suppresses errors if lock file does not exist.
rm -f composer.contrib.json composer.contrib.lock
touch $DDEV_DOCROOT/core/.env

0 comments on commit 4e20936

Please sign in to comment.