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

Add default NuGet source back to find-packages #2489

Merged
merged 1 commit into from Jul 6, 2017
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
3 changes: 2 additions & 1 deletion src/Paket/Program.fs
Expand Up @@ -308,7 +308,8 @@ let findPackages silent (results : ParseResults<_>) =
| Some source, _ ->
[PackageSource.NuGetV2Source source]
| _, Some dependencies ->
dependencies.GetSources() |> Seq.map (fun kv -> kv.Value) |> List.concat
PackageSources.DefaultNuGetSource ::
(dependencies.GetSources() |> Seq.map (fun kv -> kv.Value) |> List.concat)
| _ ->
failwithf "Could not find '%s' at or above current directory, and no explicit source was given as parameter (e.g. 'paket.exe find-packages source https://www.nuget.org/api/v2')."
Constants.DependenciesFileName
Expand Down