mirror of https://github.com/sbt/sbt.git
Revert accidental style change
This commit is contained in:
parent
ca736e55d3
commit
8ef3cd5871
|
|
@ -124,15 +124,15 @@ object Util {
|
|||
def cleanPom(pomNode: scala.xml.Node) =
|
||||
{
|
||||
import scala.xml._
|
||||
def cleanNodes(nodes: Seq[Node]): Seq[Node] = nodes flatMap ({
|
||||
case elem@Elem(prefix, "dependency", attributes, scope, children@_*) if excludePomDependency(elem) =>
|
||||
def cleanNodes(nodes: Seq[Node]): Seq[Node] = nodes flatMap {
|
||||
case elem @ Elem(prefix, "dependency", attributes, scope, children @ _*) if excludePomDependency(elem) =>
|
||||
NodeSeq.Empty
|
||||
case Elem(prefix, "classifier", attributes, scope, children@_*) =>
|
||||
case Elem(prefix, "classifier", attributes, scope, children @ _*) =>
|
||||
NodeSeq.Empty
|
||||
case Elem(prefix, label, attributes, scope, children@_*) =>
|
||||
case Elem(prefix, label, attributes, scope, children @ _*) =>
|
||||
Elem(prefix, label, attributes, scope, cleanNodes(children): _*).theSeq
|
||||
case other => other
|
||||
})
|
||||
}
|
||||
cleanNodes(pomNode.theSeq)(0)
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue