Skip to content

Conversation

@bryansum
Copy link

@bryansum bryansum commented Jan 13, 2026

Summary

  • Guard nil comment.user and render system comments safely.

Changes

  1. Add commentAuthorName helper to fall back to "System" when user is nil/empty.
  2. Use the helper in comment and issue command output paths.

Test plan

  • go build -o /tmp/linctl ./
  • /tmp/linctl comment list LOC-3812 (no crash; system comments render)
  • /tmp/linctl issue get LOC-3812 (no crash; recent comments render)

Fixes #28

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

linctl issue get crashes with nil pointer dereference

1 participant