Synchronize dependencyTree console output

This commit is contained in:
Friendseeker 2024-11-21 17:36:22 -08:00
parent 2f792b1355
commit 27cec84333
1 changed files with 6 additions and 3 deletions

View File

@ -147,8 +147,9 @@ object DependencyTreeSettings {
.asciiTree(GraphTransformations.reverseGraphStartingAt(graph, module), graphWidth)
}
.mkString("\n")
streams.value.log.info(output)
synchronized {
streams.value.log.info(output)
}
output
},
) ++
@ -171,7 +172,9 @@ object DependencyTreeSettings {
key := {
val s = streams.value
val str = (key / asString).value
s.log.info(str)
synchronized {
s.log.info(str)
}
},
key / toFile := {
val (targetFile, force) = targetFileAndForceParser.parsed