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

sourcebundle: Fix panic when RegistryMeta and Packages aren't the same size #67

Closed
wants to merge 1 commit into from

Conversation

liamcervante
Copy link
Member

Seems like a copy-paste error here. I think this works most of the time because packages and registrymeta are usually the same size. But, if someone loads a package directly from Github (or another source) without going through the registry this panics.

@liamcervante liamcervante requested a review from a team October 30, 2024 08:54
Copy link
Member

@radeksimko radeksimko left a comment

Choose a reason for hiding this comment

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

Agreed this looks like a copy-paste error.

I guess it is not very surprising for something like this to be overlooked in 4,7k+ LOC of changes #42 🤷🏻

@liamcervante
Copy link
Member Author

Closed in favour of #68

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.

2 participants