diff options
| author | Craig Jennings <c@cjennings.net> | 2026-06-02 20:27:38 -0500 |
|---|---|---|
| committer | Craig Jennings <c@cjennings.net> | 2026-06-02 20:27:38 -0500 |
| commit | fac5c2973b4d6e028c203a4bad0ba104178e1349 (patch) | |
| tree | 4ba944ac46d17c45fd66375a71406b447ea174f2 /Makefile | |
| parent | 9a145f30ff49a0141f342ea775e8f1a5b5899ae6 (diff) | |
| download | pearl-fac5c2973b4d6e028c203a4bad0ba104178e1349.tar.gz pearl-fac5c2973b4d6e028c203a4bad0ba104178e1349.zip | |
fix(priority): error on an out-of-range cookie instead of silent None
pearl--priority-number-at-point matched only [#A-D], so a cookie outside that range (a hand-typed [#E], say) didn't match and fell through to 0 (None). On save that silently pushed None to Linear and cleared the issue's priority, with no error and no sign anything was wrong.
It now matches any [#A-Z] and, when the letter isn't A-D, signals a user-error naming the valid range (A=Urgent, B=High, C=Medium, D=Low, or no cookie for None), so a stray cookie surfaces before any push rather than quietly wiping the priority. Linear has exactly five priorities, so A-D plus no-cookie is the whole range.
Diffstat (limited to 'Makefile')
0 files changed, 0 insertions, 0 deletions
