mirror of https://github.com/sbt/sbt.git
nit
This commit is contained in:
parent
bfa847de28
commit
158ede9ab1
|
|
@ -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)
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue