mirror of https://github.com/sbt/sbt.git
fix: don't fail if a module has no dependencies
This commit is contained in:
parent
ff4482064c
commit
7b88492ac7
|
|
@ -59,7 +59,7 @@ object IvyGraphMLDependencies extends App {
|
|||
val (f, t) = bindingFor(entry)
|
||||
m.addBinding(f, module(t))
|
||||
}
|
||||
m.toMap.mapValues(_.toSeq.sortBy(_.id.idString))
|
||||
m.toMap.mapValues(_.toSeq.sortBy(_.id.idString)).withDefaultValue(Nil)
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue