Skip to content

Commit

Permalink
Removed V3 -> V2 fallback, see #2508
Browse files Browse the repository at this point in the history
  • Loading branch information
eugene-g committed Sep 20, 2017
1 parent 6fd54ca commit 290d0b8
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions src/Paket.Core/Installation/RestoreProcess.fs
Original file line number Diff line number Diff line change
Expand Up @@ -92,10 +92,7 @@ let ExtractPackage(alternativeProjectRoot, root, groupName, sources, caches, for
match package.Source with
| NuGetV2 _ | NuGetV3 _ ->
let source =
let normalizeFeedUrl s =
(normalizeFeedUrl s)
.Replace("https://","http://")
.Replace("/api/v3/index.json","")
let normalizeFeedUrl s = (normalizeFeedUrl s).Replace("https://","http://")

let normalized = normalizeFeedUrl package.Source.Url
let source =
Expand Down

0 comments on commit 290d0b8

Please sign in to comment.