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

improve another error when restoring packages. #2434

Merged
merged 2 commits into from
Jun 17, 2017
Merged

Conversation

matthid
Copy link
Member

@matthid matthid commented Jun 17, 2017

Related #2423

Instead of

Paket failed with:
-> Could not download FSharp.Core 4.2.
       Could not get package details for Paket.NuGetV2+name@255-5 from https://www.nuget.org/api/v2

print

Paket failed with:
-> Could not download FSharp.Core 4.2.
-> Could not get package details for Paket.NuGetV2+name@255-4 from https://www.nuget.org/api/v2
-> WebException: The remote server returned an error: (404) Not Found.

WTF is Paket.NuGetV2+name@255-4? PackageName overrides ToString but it is not working?

@lexarchik
Copy link
Contributor

Paket.NuGetV2+name@255-4 come from typo on line 255 in NuGetV2.fs:
let name = PackageName.ToString() must be let name = packageName.ToString()

@matthid
Copy link
Member Author

matthid commented Jun 17, 2017

@lexarchik Thanks! I just couldn't see it :)

@matthid matthid merged commit 4cc022f into master Jun 17, 2017
@matthid matthid deleted the another_error_improved branch July 26, 2017 19:24
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