nerves-networking / vintage_net_wizard

WiFi configuration wizard using vintage_net
Apache License 2.0
60 stars 21 forks source link

Fix compiler warning on router.ex + format files using plug format #382

Closed ConnorRigby closed 4 months ago

ConnorRigby commented 4 months ago

fixes this error:

==> vintage_net_wizard
Compiling 16 files (.ex)
    warning: Plug.Builder.builder_opts/0 is deprecated. Pass :copy_opts_to_assign on "use Plug.Builder"
    │
 21 │   plug(:dispatch, builder_opts())
    │                   ~
    │
    └─ lib/vintage_net_wizard/web/router.ex:21:19: VintageNetWizard.Web.Router (module)

Generated vintage_net_wizard app