fix potential clojure compiler error

if i had a nickel for every time this exact one with clojure.pprint has
tripped me up over the years ...
This commit is contained in:
Gered 2018-07-05 11:17:13 -04:00
parent d0aaef0261
commit 8106547c8d

View file

@ -1,6 +1,7 @@
(ns clj-htmltopdf.options
(:require
[clojure.java.io :as io]
[clojure.pprint :as pprint]
[clojure.string :as string]
[clj-htmltopdf.css :as css]
[clj-htmltopdf.utils :as utils])
@ -85,7 +86,7 @@
[options]
(let [final-options (merge default-options options)]
(if (get-in final-options [:debug :display-options?])
(clojure.pprint/pprint final-options))
(pprint/pprint final-options))
final-options))
(defn ->base-uri