Skip to content
This repository has been archived by the owner on Sep 9, 2020. It is now read-only.

Commit

Permalink
Merge pull request #1463 from darkowlzz/status-missing-latest
Browse files Browse the repository at this point in the history
status: use unpaired ver constr when checking updateability
  • Loading branch information
sdboyer authored Dec 19, 2017
2 parents f2e423e + 6c5666d commit a926781
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion cmd/dep/status.go
Original file line number Diff line number Diff line change
Expand Up @@ -551,7 +551,8 @@ func runStatusAll(ctx *dep.Ctx, out outputter, p *dep.Project, sm gps.SourceMana
// Get constraint for locked project
for _, lockedP := range p.Lock.P {
if lockedP.Ident().ProjectRoot == proj.Ident().ProjectRoot {
c.Constraint = lockedP.Version()
// Use the unpaired version as the constraint for checking updates.
c.Constraint = bs.Version
}
}
}
Expand Down

0 comments on commit a926781

Please sign in to comment.