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

Fallback/Suggestions for hypen/underscore mismatch. #54

Open
melMass opened this issue Oct 31, 2022 · 0 comments
Open

Fallback/Suggestions for hypen/underscore mismatch. #54

melMass opened this issue Oct 31, 2022 · 0 comments

Comments

@melMass
Copy link

melMass commented Oct 31, 2022

Follow up on #53

AFAIK there is no real standard around that but a lot of packages are using hyphens in their names (while not allowed in imports) yet some still use underscore to match the import name!

Cargo-download for instance does fallback automatically.
While this is not wanted for clone, there could at least be a fallback search of alternative punctuation if the package is not found and report the typo to the end user

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants