Skip to content

Commit

Permalink
fix flag in outer loop stage
Browse files Browse the repository at this point in the history
  • Loading branch information
cloudRoutine committed Dec 4, 2016
1 parent cd6d161 commit abaebbf
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/Paket.Core/PackageResolver.fs
Original file line number Diff line number Diff line change
Expand Up @@ -641,7 +641,7 @@ let Resolve (getVersionsF, getPackageDetailsF, groupName:GroupName, globalStrate
let continueConflict =
{ currentConflict with VersionsToExplore = lastConflict.VersionsToExplore }

step (Inner((continueConflict,lastStep,lastRequirement),priorConflictSteps)) stackpack compatibleVersions flags
step (Inner((continueConflict,lastStep,lastRequirement),priorConflictSteps)) stackpack compatibleVersions flags
| currentConflict, [] -> currentConflict

match stage with
Expand Down Expand Up @@ -739,7 +739,8 @@ let Resolve (getVersionsF, getPackageDetailsF, groupName:GroupName, globalStrate
if not flags.UseUnlisted
&& flags.HasUnlisted
&& not currentConflict.Status.IsDone then
StepFlags(flags.Ready,true,flags.HasUnlisted,flags.ForceBreak,flags.FirstTrial)
// if it's been determined that an unlisted package must be used, ready must be set to false
StepFlags(false,true,flags.HasUnlisted,flags.ForceBreak,flags.FirstTrial)
else
StepFlags(true,flags.UseUnlisted,flags.HasUnlisted,flags.ForceBreak,flags.FirstTrial)

Expand Down

0 comments on commit abaebbf

Please sign in to comment.