deployphp / deployer

The PHP deployment tool with support for popular frameworks out of the box
https://deployer.org
MIT License
10.41k stars 1.47k forks source link

fix: run cachetool without args #3742

Closed infabo closed 6 months ago

infabo commented 6 months ago

fixes a regression bug introduced with https://github.com/deployphp/deployer/commit/266554d3c7fea23c27ece48e3256d0120f88b138

infabo commented 6 months ago

I chose to only accept a plain string or an array of strings for the cachetool configuration value. Then make sure that cachetool_options always returns at least an array with empty string so BC is given (this allows the same behaviour before it was changed in 266554d3c7fea23c27ece48e3256d0120f88b138).

antonmedv commented 6 months ago

@claytonrcarter please rake a look.