-
Notifications
You must be signed in to change notification settings - Fork 504
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
🐛 handle gitlab repos with no commits #3731
Conversation
Signed-off-by: Allen Shearin <allen.p.shearin@gmail.com>
Codecov Report
Additional details and impacted files@@ Coverage Diff @@
## main #3731 +/- ##
==========================================
- Coverage 75.93% 70.91% -5.03%
==========================================
Files 229 229
Lines 15377 15380 +3
==========================================
- Hits 11677 10907 -770
- Misses 2978 3805 +827
+ Partials 722 668 -54 |
Is draft status intentional? |
Can we add a test for this |
Signed-off-by: Allen Shearin <allen.p.shearin@gmail.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Change looks good, left two small comments about the tests.
Signed-off-by: Allen Shearin <allen.p.shearin@gmail.com>
…rd-gitlab into no-commits-bug
What kind of change does this PR introduce?
Simple length check on raw commit array prior to attempting to access the first index
What is the current behavior?
It's assumed that the repository will return commits, sets the first element as the 'before' time for future processing.
What is the new behavior (if this is a feature change)?**
Which issue(s) this PR fixes
Fixes #3727
Related to #3193
Special notes for your reviewer
Does this PR introduce a user-facing change?
For user-facing changes, please add a concise, human-readable release note to
the
release-note
(In particular, describe what changes users might need to make in their
application as a result of this pull request.)