Repository navigation
What's Changed
🐛 Bug Fixes
- Fix empty result handling in formatPlain function (#85) - fixes #84
- Added proper empty message display when no issues match the filter
- Ensures consistent behavior between TTY and non-TTY environments
- Displays context-appropriate messages based on relation type
📝 Details
When using gh sub-issue list with state filters that exclude all sub-issues, the command now properly displays informative messages instead of returning empty output:
- "No sub-issues found." for children (default)
- "No parent issue found." for parent relation
- "No sibling issues found." for siblings relation
This fix is particularly important for CI/CD environments and scripts where formatPlain() is used.
🧪 Testing
- Added comprehensive test coverage for empty result scenarios
- All existing tests continue to pass
Full Changelog: v0.5.0...v0.5.1