Skip to content

Commit

Permalink
Fix bencode serialization of keywords and symbols
Browse files Browse the repository at this point in the history
  • Loading branch information
expez committed Dec 31, 2016
1 parent 44f0f82 commit 56a1c67
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/refactor_nrepl/middleware.clj
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,9 @@
(walk/postwalk (fn [v]
(cond
(or (keyword? v) (symbol? v))
(str v)
(if-let [prefix (core/prefix v)]
(core/fully-qualify prefix v)
(name v))

(set? v) (list v)

Expand Down

0 comments on commit 56a1c67

Please sign in to comment.