Skip to content

Conversation

bkchr
Copy link
Owner

@bkchr bkchr commented Jan 24, 2023

This fixes an issue for crates that import itself. Before we would have returned FoundCrate::Name("the-name-of-the-other-instance") instead of FoundCrate::Itself. This pull request fixes this behavior by ensuring that it returns FoundCrate::Itself.

Closes: #26

This fixes an issue for crates that import itself. Before we would have
returned `FoundCrate::Name("the-name-of-the-other-instance")` instead of
`FoundCrate::Itself`. This pull request fixes this behavior by ensuring
that it returns `FoundCrate::Itself`.
@bkchr bkchr merged commit 27e449c into master Jan 24, 2023
@bkchr bkchr deleted the bkchr-fix-multiple-crates branch January 24, 2023 10:47
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.

Version 1.2.x changes behaviour

1 participant