welaika / wordmove

Multi-stage command line deploy/mirroring and task runner for Wordpress
https://wptools.it/wordmove
MIT License
1.87k stars 167 forks source link

Environment Variables are not read in Doctor diagnostics #566

Closed psoluch closed 4 years ago

psoluch commented 4 years ago

If Environment Variables are used for any of the Database fields, they are not read properly by the Doctor and the check might fail.

To reproduce change any of the Database fields for Local environment (e.g. username, password) with Environment Variable. Execute "wordmove doctor". The MySQL test will fail.

It might be similar for other Doctor checks.

alessandro-fazzi commented 4 years ago

Hi @psoluch ,

this one duplicates #535; thanks for bumping up the problem. In the older issue it is already accepted as a bug and I'll take it in consideration in a future release :)

Please subscribe to the older issue to continue to contribute to the bug. I'm going to close this one.