flyntwp / flynt-cli

CLI tool for the WordPress Flynt framework
MIT License
14 stars 3 forks source link

always throw relevant / specific errors #83

Open emcarru opened 6 years ago

emcarru commented 6 years ago

The error thrown in the requirements check for wpCliDotEnv is custom and not outputting the actual error encountered.

I noticed this because in my case the error thrown was misleading - I had the package installed fine (I'd just messed up a few steps in flynt create), so the error telling me to check my install of wp-cli-dotenv-command totally confused me.