Varying-Vagrant-Vagrants / VVV

An open source Vagrant configuration for developing with WordPress
https://varyingvagrantvagrants.org
MIT License
4.55k stars 849 forks source link

Fix a warning when the Parallels plugin isn't installed #2670

Closed tomjn closed 1 year ago

tomjn commented 1 year ago

When specifying Parallels as a provider, if the plugin isn't installed you get an error:

Message: NameError: uninitialized constant VagrantPlugins::Parallels

This checks if that is defined before trying to fetch the parallels version

Checks

update-docs[bot] commented 1 year ago

Thanks for opening this pull request! Make sure CHANGELOG.md gets updated with this change, additionally any docs that need updated can be found at https://github.com/Varying-Vagrant-Vagrants/varyingvagrantvagrants.org

GitHub
GitHub - Varying-Vagrant-Vagrants/varyingvagrantvagrants.org: The VVV docs and website
The VVV docs and website. Contribute to Varying-Vagrant-Vagrants/varyingvagrantvagrants.org development by creating an account on GitHub.