fix: don't fail if a module has no dependencies

This commit is contained in:
Johannes Rudolph 2012-10-24 11:08:28 +02:00
parent ff4482064c
commit 7b88492ac7
1 changed files with 1 additions and 1 deletions

View File

@ -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)
}
}