kibit 0.0.3 incorrectly replaces code for -> #30

Closed
dakrone opened this Issue Apr 3, 2012 · 2 comments

Projects

None yet

2 participants

@dakrone

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")))
@jonase
Owner

Duplicate of #28. Fixed in master.

@dakrone

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