Getting a list of commits from a repo, fails when there is no commits/default branch #278
Labels
hacktoberfest
Issues for participation in Hacktoberfest
Status: Up for grabs
Issues that are ready to be worked on by anyone
Type: Bug
Something isn't working as documented
Running this query:
Gives the stacktrace:
Trying to put a
.SingleOrDefault()
after the.DefaultBranchRef
or.Target
, gives the following exception:Data returned from api: (screenshot from

SimpleQuery.cs
,RunPage
method)The text was updated successfully, but these errors were encountered: