real-name/src
Sean Corfield 63125d6ee5
Ensure gecos string has at least two fields
For a `gecos` string like `,,,`, `clojure.string/split` produces `[]` so `interleave` produces an empty result (it stops on the shortest sequence) and so the `apply assoc` fails with two few arguments.

This ensures that the `gecos` string will always produce a non-empty result from the `split` so the rest works.

Note that `(split "a,,," #",")` produces `["a"]` -- the empty trailing elements are ignored/dropped.
2023-06-10 22:58:19 -07:00
..
cc/journeyman/real_name Ensure gecos string has at least two fields 2023-06-10 22:58:19 -07:00