fix(gh): print 'No Pull Requests' when pr list is empty#766
fix(gh): print 'No Pull Requests' when pr list is empty#766saschabuehrle wants to merge 1 commit intortk-ai:masterfrom
Conversation
|
|
📊 Automated PR Analysis
SummaryFixes the empty PR list output for Review Checklist
Linked issues: #764 Analyzed automatically by wshm · This is an automated analysis, not a human review. |
|
Hello ! Please target develop branch and read CONTRIBUTING.md so you can pass all check. Thanks for the contribution, should be quickly merge then |
|
Closing to retarget against Greetings, saschabuehrle |
|
Retargeted to develop as PR #779. Also signed the CLA. Greetings, saschabuehrle |
Bug
#764 —
rtk gh pr liston a repo with zero PRs prints the "Pull Requests" header with no entries, giving no indication the list is actually empty.Fix
Early-return with
No Pull Requests(orNo PRsin ultra-compact mode) when the parsed JSON array is empty.Follows the same pattern as the existing output: the message is both printed to stdout and tracked in the
filteredstring for telemetry.Testing
Tested against a repo with no open PRs:
Happy to address any feedback.
Greetings, saschabuehrle