Commit b73eac3
committed
fix(tooling): treat an empty-string dep name as invalid, not a blank dep
split_dep_names' string branch returned { "" } for an empty string while the
table branch routes "" to `invalid` — the "ONE validity definition" the
docstring promises was inconsistent, and a caller passing "" would surface a
blank, label-less dep downstream. Route "" to `invalid` in the string branch
too, matching the table branch.1 parent a37d44f commit b73eac3
1 file changed
Lines changed: 6 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
33 | 33 | | |
34 | 34 | | |
35 | 35 | | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
36 | 42 | | |
37 | 43 | | |
38 | 44 | | |
| |||
0 commit comments