mirror of https://github.com/sbt/sbt.git
Ugh. trying to make codacy happy
This commit is contained in:
parent
ae58cf342b
commit
307c725cd1
|
|
@ -26,8 +26,7 @@ class MergeDescriptorSpec extends BaseIvySpecification {
|
|||
m.withModule(log) {
|
||||
case (ivy, md, _) =>
|
||||
val deps = md.getDependencies
|
||||
assert(deps.size == 1)
|
||||
deps.head match {
|
||||
deps.headOption.getOrElse(sys.error("Dependencies not found")) match {
|
||||
case dd @ MergedDescriptors(dd0, dd1) =>
|
||||
val arts = dd.getAllDependencyArtifacts
|
||||
val a0: DependencyArtifactDescriptor = arts.toList(0)
|
||||
|
|
|
|||
Loading…
Reference in New Issue