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

Add default for composer_authentications #1315

Closed swalkinshaw closed 3 years ago

swalkinshaw commented 3 years ago

This was a frequent cause of Trellis projects breaking during upgrades from before composer_authentications existed. Because the process involves copying over existing group_vars, the default variable wouldn't exist and these tasks would fail.

This solves it by supplying a local default where it's used.