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

Added necessary checks for type assertion #327

Merged
merged 1 commit into from
May 28, 2024

Conversation

Yaxhveer
Copy link
Contributor

@Yaxhveer Yaxhveer commented May 11, 2024

Fixes issue:
Fixes: #230

Description:
Added explicit checks for type assertion to prevent potential panics.

Signed-off-by: Yaxhveer <yaxhcod@gmail.com>
@Yaxhveer
Copy link
Contributor Author

@adityasaky PTAL!

Copy link
Member

@pxp928 pxp928 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM! Thank You!

@adityasaky adityasaky merged commit 33cbc5e into in-toto:master May 28, 2024
11 of 12 checks passed
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.

Revisit type assertions
3 participants