nerves-hub / nerves_hub_link

Connect devices to NervesHub via a Phoenix channel
https://hex.pm/packages/nerves_hub_link
Apache License 2.0
36 stars 18 forks source link

Work around failing to start nerves_key when optional dep #55

Closed jjcarstens closed 3 years ago

jjcarstens commented 3 years ago

In response to https://github.com/nerves-hub/nerves_hub_link/issues/52

fhunleth commented 3 years ago

How about putting the Application.ensure_all_started in the NervesKey configurator? Then there's no need for the if.