♻️ Remove unreachable try/catch in hex->hsl (#9245)

This commit is contained in:
Dexterity 2026-05-10 13:28:12 -04:00 committed by GitHub
parent 49759021bf
commit e30e5906c8
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -332,10 +332,7 @@
(conj opacity)))
(defn hex->hsl [hex]
(try
(-> hex hex->rgb rgb->hsl)
(catch #?(:clj Throwable :cljs :default) _e
[0 0 0])))
(-> hex hex->rgb rgb->hsl))
(defn hex->hsla
[data opacity]