Ensure plugin.links.homepage exists before attempting to use it. We short-circuit above if both homepage and bugs don't exist, but after that, we are in a state where either both exist, or just one does.
with this change, the release notes render, even without the homepage property
:recycle: Current situation
Currently, fetching the update release notes crashes if the plugin does not have a
homepage
property defined in thepackage.json
.testing locally against my plugin
Looks to have been introduced in https://github.com/homebridge/homebridge-config-ui-x/pull/1890
:bulb: Proposed solution
Ensure
plugin.links.homepage
exists before attempting to use it. We short-circuit above if bothhomepage
andbugs
don't exist, but after that, we are in a state where either both exist, or just one does.with this change, the release notes render, even without the
homepage
property