refactor: Remove redundant str calls

This commit is contained in:
Mathieu Lirzin 2026-01-01 15:50:04 +01:00
parent 20735730c9
commit 579eb28a50
No known key found for this signature in database
GPG key ID: 0ADEE10094604D37
2 changed files with 2 additions and 2 deletions

View file

@ -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))))

View file

@ -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)))