Skip to content

Commit

Permalink
[fix] Timbre shim: don't attach empty :vargs data
Browse files Browse the repository at this point in the history
  • Loading branch information
ptaoussanis committed Dec 31, 2024
1 parent 1517f30 commit 0e642ba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion projects/main/src/taoensso/telemere/timbre.cljc
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@
(enc/format* pattern vargs)
(enc/str-join " " (map arg-str) vargs)))]

[error msg {:vargs vargs}])))))
[error msg (when-not (empty? vargs) {:vargs vargs})])))))

(comment
(parse-vargs true [ "hello %s" "stu"])
Expand Down

0 comments on commit 0e642ba

Please sign in to comment.