From 201ea0be136c592f90e4dff76bb2ce9fe2f843f1 Mon Sep 17 00:00:00 2001 From: Tomasz Heimowski Date: Wed, 31 Dec 2014 16:00:20 +0100 Subject: [PATCH] fix priority of parsing atom nuget feed for package Id - references #490 --- src/Paket.Core/NuGetV2.fs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Paket.Core/NuGetV2.fs b/src/Paket.Core/NuGetV2.fs index c4a83a5a5a..2b18529737 100644 --- a/src/Paket.Core/NuGetV2.fs +++ b/src/Paket.Core/NuGetV2.fs @@ -137,7 +137,7 @@ let parseODataDetails(nugetURL,packageName,version,raw) = | _ -> failwithf "unable to find entry node for package %s %O" packageName version let officialName = - match orElse (entry |> getNode "properties" |> optGetNode "Id") (entry |> getNode "title") with + match (entry |> getNode "properties" |> optGetNode "Id") |> orElse (entry |> getNode "title") with | Some node -> node.InnerText | _ -> failwithf "Could not get official package name for package %s %O" packageName version