mirror of
https://github.com/metosin/reitit.git
synced 2026-01-12 01:49:51 +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
|
||||
(let [result (coercer query-params :default)]
|
||||
(if (error? result)
|
||||
(throw (ex-info (str "Query parameters coercion failed")
|
||||
(throw (ex-info "Query parameters coercion failed"
|
||||
result))
|
||||
result))
|
||||
query-params))))
|
||||
|
|
|
|||
|
|
@ -190,7 +190,7 @@
|
|||
(color :title message " ")
|
||||
(color :title-dark (repeat-str "-" between) " ")
|
||||
(color :title source) " "
|
||||
(color :title-dark (str "--"))]))
|
||||
(color :title-dark "--")]))
|
||||
|
||||
(defn footer [{:keys [width]}]
|
||||
(color :title-dark (repeat-str "-" width)))
|
||||
|
|
|
|||
Loading…
Reference in a new issue