This commit is contained in:
Alexandre Archambault 2020-06-02 15:26:52 +02:00
parent bfa847de28
commit 158ede9ab1
1 changed files with 2 additions and 3 deletions

View File

@ -349,11 +349,10 @@ private[internal] object SbtUpdateReport {
// likely misses some details (transitive, exclusions, ) // likely misses some details (transitive, exclusions, )
val dep = Dependency(c.module, c.wantedVersion) val dep = Dependency(c.module, c.wantedVersion)
val dependee = Dependency(c.dependeeModule, c.dependeeVersion) val dependee = Dependency(c.dependeeModule, c.dependeeVersion)
val dependeeProj = subRes.projectCache val dependeeProj = subRes.projectCache.get((c.dependeeModule, c.dependeeVersion)) match {
.get((c.dependeeModule, c.dependeeVersion)) match {
case Some((_, p)) => case Some((_, p)) =>
ProjectInfo(p.version, p.configurations.keys.toVector.map(c => ConfigRef(c.value)), p.properties) ProjectInfo(p.version, p.configurations.keys.toVector.map(c => ConfigRef(c.value)), p.properties)
case _ => case None =>
// should not happen // should not happen
ProjectInfo(c.dependeeVersion, Vector.empty, Vector.empty) ProjectInfo(c.dependeeVersion, Vector.empty, Vector.empty)
} }