mirror of
https://github.com/penpot/penpot.git
synced 2026-04-25 11:18:36 +00:00
The 3-arity of safe-subvec called (count v) in a let binding before checking (some? v). While (count nil) returns 0 in Clojure and does not crash, the nil guard was dead code. Restructure to check (some? v) first with an outer when, then compute size inside the guarded block.