mirror of https://github.com/sbt/sbt.git
Merge pull request #7906 from Friendseeker/sbt-6905
[1.x] Synchronize `dependencyTree` console output
This commit is contained in:
commit
f25fde18a4
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue