weavejester / lein-ring

Ring plugin for Leiningen
Eclipse Public License 1.0
501 stars 100 forks source link

Fix bug with passing vector instead of namespace. #144

Closed zarkone closed 9 years ago

zarkone commented 9 years ago

this commit from https://github.com/weavejester/lein-ring/pull/138 tries to simplify the logic, but in this line

(if (nrepl? project) (nrepl-middleware project))

we've got an array instead of namespace,it was into in previous version... I think there's nothing to do w/o apply here (correct me if i'm not right, i'm quite new in clojure), so in my opinion better to live the old code.

MichaelBlume commented 9 years ago

Fixed =)