Skip to content
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

Edge case "None" owners fix #519

Merged
merged 1 commit into from Dec 29, 2023
Merged

Edge case "None" owners fix #519

merged 1 commit into from Dec 29, 2023

Conversation

dtcarls
Copy link
Contributor

@dtcarls dtcarls commented Dec 27, 2023

fixes #518

Fixes edge case, where if team has the key 'owners' but its value is None or an empty list, this will raise an IndexError. It will now properly make an empty list with an indexable [0] element

@codecov-commenter
Copy link

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (15094e4) 81.03% compared to head (fa5f6be) 81.03%.

❗ Your organization needs to install the Codecov GitHub app to enable full functionality.

Additional details and impacted files
@@           Coverage Diff           @@
##           master     #519   +/-   ##
=======================================
  Coverage   81.03%   81.03%           
=======================================
  Files          60       60           
  Lines        2209     2209           
=======================================
  Hits         1790     1790           
  Misses        419      419           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@cwendt94
Copy link
Owner

Good catch!

@cwendt94 cwendt94 merged commit d54f4e9 into cwendt94:master Dec 29, 2023
3 checks passed
@dtcarls
Copy link
Contributor Author

dtcarls commented Dec 29, 2023

When you run it multiple times a week against several hundred leagues, you find edge cases fast lol. Thanks for the merge and release.

@cwendt94
Copy link
Owner

I bet lol, that is very helpful! Thanks again for the PR!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Issue with Add full owner info to team commit
3 participants