Skip to content

Commit

Permalink
Merge pull request #1258 from alex-bogomaz/#784-unlisted-warning
Browse files Browse the repository at this point in the history
#784 warning when resolving unlisted package
  • Loading branch information
forki committed Nov 27, 2015
2 parents 1c83402 + 4bb0b96 commit 2c7e7bc
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/Paket.Core/PackageResolver.fs
Original file line number Diff line number Diff line change
Expand Up @@ -239,6 +239,8 @@ let Resolve(groupName:GroupName, sources, getVersionsF, getPackageDetailsF, stra
let newRestrictions = filterRestrictions dependency.Settings.FrameworkRestrictions globalFrameworkRestrictions

let packageDetails : PackageDetails = getPackageDetailsF sources dependency.Name version
if packageDetails.Unlisted then traceWarnfn " - %O %A - the owner has unlisted this package. This could mean that the package is deprecated or shouldn't be used anymore" dependency.Name version

let filteredDependencies = DependencySetFilter.filterByRestrictions newRestrictions packageDetails.DirectDependencies

let settings =
Expand Down

0 comments on commit 2c7e7bc

Please sign in to comment.