This repository was archived by the owner on Apr 8, 2021. It is now read-only.
This repository was archived by the owner on Apr 8, 2021. It is now read-only.
::toFile task variants should ignore terminal width #182
Open
Description
I'm trying to get around a problem with our dependency tree being truncated as part of a CI task that doesn't have an interactive terminal, so uses the 80-character default and is truncating dependency versions (#173). This can be replicated pretty easily from the command line:
➜ stty cols 70 && sbt dependencyTree | grep jsr310
[info] +-com.fasterxml.jackson.datatype:jackson-datatype-jsr310:2..
Unfortunately the terminal width also affects the output to file, which I don't think is intentional:
➜ stty cols 70 && sbt 'dependencyTree::toFile dependencies.txt'
...
[info] Wrote dependencyTree to 'dependencies.txt'
[success] Total time: 0 s, completed 05-Aug-2019 10:17:59
➜ grep jsr310 dependencies.txt
+-com.fasterxml.jackson.datatype:jackson-datatype-jsr310:2..