Closed glts closed 5 years ago
Thanks! :tada:
The proposed change restores the previous behaviour as faithfully as possible. reply.eval-modes.nrepl/main will again accept both string and integer for :port.
I still think that's not the right place to fix this, but I guess that's not a big deal. IMO the conversion should be done when the command-line arguments are read. Pushing this down makes the code slightly more complex than it needs to be.
(to be more concrete - I think the command-line params should be normalized before launch
is ever called)
Belated thank you for the merge …!
Are you planning to cut a release some time soon? Would be cool to pull this into Leiningen, to fix the related issue. No pressure though.
Done - thanks for the nudge! 🎉
Done and done, thank you very much.
Commit 7fe67e4e2eb5580e42da6662fd05cd4c62a6533c introduced a regression where REPL-y will throw an exception when it gets passed the
--port
command-line argument. The exception is easily reproducible with the commandThis breaks clients of the REPL-y command-line API such as Leiningen, see technomancy/leiningen#2572.
The proposed change restores the previous behaviour as faithfully as possible.
reply.eval-modes.nrepl/main
will again accept both string and integer for:port
.