Skip to content

Commit 8934f4f

Browse files
author
shmuelko
committed
not a str but is keyword?
1 parent 2bf3c27 commit 8934f4f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/practitest_firecracker/utils.clj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,4 +43,4 @@
4343

4444
(defn replace-keys [params]
4545
(when params
46-
(into {} (map (fn [[x y]] {(when x (str "<" (name (str x)) ">")) y}) params))))
46+
(into {} (map (fn [[x y]] {(when x (str "<" (if (keyword? x) (name x) x) ">")) y}) params))))

0 commit comments

Comments
 (0)