mirror of
https://github.com/sbt/sbt.git
synced 2026-10-08 02:53:10 +02:00
Ugh. trying to make codacy happy
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user