Skip to content

Commit

Permalink
Match auth - references #1210
Browse files Browse the repository at this point in the history
  • Loading branch information
forki committed Nov 12, 2015
1 parent 7080076 commit 4e10793
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions RELEASE_NOTES.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
#### 2.24.2 - 12.11.2015
* Match auth - https://github.com/fsprojects/Paket/issues/1210

#### 2.24.1 - 11.11.2015
* Better error message when something goes wrong during package download

Expand Down
2 changes: 1 addition & 1 deletion src/Paket.Core/RestoreProcess.fs
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ let ExtractPackage(root, groupName, sources, force, package : ResolvedPackage) =
let auth =
sources |> List.tryPick (fun s ->
match s with
| Nuget s -> s.Authentication |> Option.map toBasicAuth
| Nuget s when s.Url = package.Source.Url -> s.Authentication |> Option.map toBasicAuth
| _ -> None)
let! result =
extractPackage package root auth package.Source groupName v includeVersionInPath force
Expand Down

0 comments on commit 4e10793

Please sign in to comment.