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

Hotfix: Potential crash when creating a snapshot of AnalysisResult #138

Merged
merged 2 commits into from
Mar 15, 2024

Conversation

pmbittner
Copy link
Member

No description provided.

AnalysisResult::snapshot assumed that the AnalysisResult always has a TotalNumberOfCommitsResult but this was only the case if the result was created by an Analysis. Now, every AnalysisResult will have the commits, and the snapshot method will not crash in case the commits are missing later on.
@pmbittner pmbittner added the bug Something isn't working label Mar 14, 2024
@pmbittner pmbittner self-assigned this Mar 14, 2024
@pmbittner pmbittner force-pushed the hotfix-analysis-result branch from 13142e1 to ca099c1 Compare March 14, 2024 18:40
@pmbittner pmbittner merged commit 0c1d6c9 into main Mar 15, 2024
2 checks passed
@pmbittner pmbittner deleted the hotfix-analysis-result branch April 29, 2024 14:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants