Skip to content

Commit

Permalink
Fix print-handler construction.
Browse files Browse the repository at this point in the history
  • Loading branch information
greglook committed Dec 17, 2018
1 parent 61f7a01 commit 7e765b3
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/whidbey/repl.clj
Original file line number Diff line number Diff line change
Expand Up @@ -47,9 +47,8 @@
(defn- print-options
"Construct a map of print options to pass to Puget."
[opts]
(-> options
(puget/merge-options opts)
(assoc :print-handlers (print-handlers opts))))
(let [opts (puget/merge-options options opts)]
(assoc opts :print-handlers (print-handlers opts))))


(defn render-str
Expand Down

0 comments on commit 7e765b3

Please sign in to comment.