mirror of
https://github.com/sbt/sbt.git
synced 2026-10-07 18:43:31 +02:00
Fix
Absolute-fscking-ly need unit tests for the features added recently now
This commit is contained in:
@@ -52,9 +52,9 @@ object IvyXml {
|
||||
val excludes = node.children
|
||||
.filter(_.label == "exclude")
|
||||
.flatMap { node0 =>
|
||||
val org = node.attribute("org").getOrElse("*")
|
||||
val name = node.attribute("module").orElse(node.attribute("name")).getOrElse("*")
|
||||
val confs = node.attribute("conf").toOption.fold(Seq("*"))(_.split(','))
|
||||
val org = node0.attribute("org").getOrElse("*")
|
||||
val name = node0.attribute("module").orElse(node0.attribute("name")).getOrElse("*")
|
||||
val confs = node0.attribute("conf").toOption.filter(_.nonEmpty).fold(Seq("*"))(_.split(','))
|
||||
confs.map(_ -> (org, name))
|
||||
}
|
||||
.groupBy { case (conf, _) => conf }
|
||||
@@ -169,4 +169,4 @@ object IvyXml {
|
||||
)
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user