mirror of
https://github.com/metosin/reitit.git
synced 2026-02-09 21:13:13 +00:00
refactor: Remove redundant str calls
This commit is contained in:
parent
20735730c9
commit
579eb28a50
2 changed files with 2 additions and 2 deletions
|
|
@ -244,7 +244,7 @@
|
||||||
(if coercer
|
(if coercer
|
||||||
(let [result (coercer query-params :default)]
|
(let [result (coercer query-params :default)]
|
||||||
(if (error? result)
|
(if (error? result)
|
||||||
(throw (ex-info (str "Query parameters coercion failed")
|
(throw (ex-info "Query parameters coercion failed"
|
||||||
result))
|
result))
|
||||||
result))
|
result))
|
||||||
query-params))))
|
query-params))))
|
||||||
|
|
|
||||||
|
|
@ -190,7 +190,7 @@
|
||||||
(color :title message " ")
|
(color :title message " ")
|
||||||
(color :title-dark (repeat-str "-" between) " ")
|
(color :title-dark (repeat-str "-" between) " ")
|
||||||
(color :title source) " "
|
(color :title source) " "
|
||||||
(color :title-dark (str "--"))]))
|
(color :title-dark "--")]))
|
||||||
|
|
||||||
(defn footer [{:keys [width]}]
|
(defn footer [{:keys [width]}]
|
||||||
(color :title-dark (repeat-str "-" width)))
|
(color :title-dark (repeat-str "-" width)))
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue