license-key-empty-input-safe

Status: IN

License-key-formatting handles all-dashes or empty input without error — the loop range is empty, `parts` stays `[]`, and `"-".join([])` returns `""`.

Source: entries/2026/06/06/license-key-formatting-solution.md

JSON