You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug List<GHPullRequestReview> ghPullRequestReviews = pr.listReviews().toList();
The above code should return an empty list if no reviews exist, instead it throws GHFileNotFoundException
To Reproduce
Steps to reproduce the behavior:
Create a pull request (but do not review it)
Search for that pull request, and then list reviews as shown in the code snippet above.
Observe the exception thrown.
Expected behavior
Return an empty list when there are no reviews.
Desktop (please complete the following information):
OS: mac
Browser NA
Version 1.318
Additional context
I think this is a regression and this behaviour wasn't like this in previous versions?
The text was updated successfully, but these errors were encountered:
daniel-b2c2
changed the title
List<GHPullRequestReview> ghPullRequestReviews = pr.listReviews().toList(); throws GHFileNotFoundException
pr.listReviews().toList(); throws GHFileNotFoundException
Dec 5, 2023
Describe the bug
List<GHPullRequestReview> ghPullRequestReviews = pr.listReviews().toList();
The above code should return an empty list if no reviews exist, instead it throws GHFileNotFoundException
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Return an empty list when there are no reviews.
Desktop (please complete the following information):
Additional context
I think this is a regression and this behaviour wasn't like this in previous versions?
The text was updated successfully, but these errors were encountered: