Skip to content

Commit

Permalink
Use the Id property when package name and id are different - fixes #265
Browse files Browse the repository at this point in the history
  • Loading branch information
forki committed Oct 16, 2014
1 parent b67c113 commit 6f847b4
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 7 deletions.
3 changes: 3 additions & 0 deletions RELEASE_NOTES.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
#### 0.8.4 - 16.10.2014
* BUGFIX: Use the Id property when NuGet package name and id are different - https://github.com/fsprojects/Paket/issues/265

#### 0.8.3 - 16.10.2014
* `paket add` command tries to keep all other packages stable.

Expand Down
8 changes: 1 addition & 7 deletions src/Paket.Core/Nuget.fs
Original file line number Diff line number Diff line change
Expand Up @@ -151,13 +151,7 @@ let getDetailsFromNugetViaOData auth nugetURL package version =
}
|> Seq.head

let officialName =
seq {
for node in doc.SelectNodes("//ns:entry/ns:title", manager) do
yield node.InnerText
}
|> Seq.head

let officialName = getAttribute "Id"

let downloadLink =
seq {
Expand Down

0 comments on commit 6f847b4

Please sign in to comment.