Skip to content

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

Merged
pmbittner merged 2 commits intomainfrom
hotfix-analysis-result
Mar 15, 2024
Merged

Hotfix: Potential crash when creating a snapshot of AnalysisResult#138
pmbittner merged 2 commits intomainfrom
hotfix-analysis-result

Conversation

@pmbittner
Copy link
Copy Markdown
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
@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