Nits: live path $config null handling; stale .gitignore comment #10

Closed
opened 2026-10-18 17:14:42 -07:00 by eric · 0 comments
Owner

Severity: Nit

  • 10-wancarp:378, 410: the live run passes $config straight into an array-typed parameter of resolve_iface(), while dry-run uses $config ?? []. If $config is null, the live run logs an unhelpful TypeError through the catch block instead of the clear "config not populated" message. Use $config ?? [] (or an explicit check) in the live path too.
  • .gitignore: the comment says the file is "Generated per-release by release.sh", but there is no release.sh; .forgejo/workflows/release.yml does this. Update the comment.
**Severity:** Nit - **`10-wancarp:378`, `410`:** the live run passes `$config` straight into an `array`-typed parameter of `resolve_iface()`, while dry-run uses `$config ?? []`. If `$config` is null, the live run logs an unhelpful TypeError through the catch block instead of the clear "config not populated" message. Use `$config ?? []` (or an explicit check) in the live path too. - **`.gitignore`:** the comment says the file is "Generated per-release by release.sh", but there is no `release.sh`; `.forgejo/workflows/release.yml` does this. Update the comment.
eric closed this issue 2026-10-20 09:45:26 -07:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
eric/10-wancarp#10
No description provided.