kibit 0.0.3 incorrectly replaces code for -> #30

dakrone opened this Issue Apr 3, 2012 · 2 comments


None yet

2 participants


Running lein2 kibit gives the following suggestion:

[212] Consider:
  ((assoc :body (FileEntity. body (or body-encoding "UTF-8"))) req)
instead of:
  (-> req (assoc :body (FileEntity. body (or body-encoding "UTF-8"))))

However, the suggested alternative is not correct, it should be:

(assoc req :body (FileEntity. body (or body-encoding "UTF-8")))

Duplicate of #28. Fixed in master.


Whoops, I checked the open issues, should have checked the closed ones before opening, closing; thanks!

@dakrone dakrone closed this Apr 3, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment