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

NuGetV2: avoid revealing password also if more than one source is defined #1357

Merged
merged 1 commit into from Jan 8, 2016
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/Paket.Core/NuGetV2.fs
Expand Up @@ -496,7 +496,7 @@ let GetPackageDetails root force sources packageName (version:SemVerInfo) : Pack
failwithf "Couldn't get package details for package %O %O on %O." packageName version source
| [] ->
failwithf "Couldn't get package details for package %O %O because no sources where specified." packageName version
| _ ->
| sources ->
failwithf "Couldn't get package details for package %O %O on any of %A." packageName version sources
| Some packageDetails -> packageDetails
| Some packageDetails -> packageDetails
Expand Down Expand Up @@ -619,7 +619,7 @@ let GetVersions force root (sources, packageName:PackageName) =
failwithf "Could not find versions for package %O on %O." packageName source
| [] ->
failwithf "Could not find versions for package %O because no sources where specified." packageName
| _ ->
| sources ->
failwithf "Could not find versions for package %O on any of %A." packageName sources

versions
Expand Down