roots / trellis

WordPress LEMP stack with PHP 8.2, Composer, WP-CLI and more
https://roots.io/trellis/
MIT License
2.51k stars 607 forks source link

Don't use sudo for composer authentications #1427

Closed swalkinshaw closed 2 years ago

swalkinshaw commented 2 years ago

Sets become: no to avoid sudo usage which will prevent Composer from aborting due to its default root/superuser protection.

Ref: https://discourse.roots.io/t/provision-hangs-on-setup-composer-authentications-on-older-project-if-using-trellis-cli-but-works-with-old-process/23804/13?u=swalkinshaw