mirror of
https://github.com/penpot/penpot.git
synced 2026-06-09 17:02:05 +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.