mirror of https://github.com/sbt/sbt.git
Take into account COURSIER_PROGRESS the right way
COURSIER_PROGRESS=true was disabling progress bars before that
This commit is contained in:
parent
114d2f95ad
commit
9ece419bc8
|
|
@ -68,7 +68,7 @@ object TermDisplay {
|
|||
def insideEmacs = sys.env.contains("INSIDE_EMACS")
|
||||
def ci = sys.env.contains("CI")
|
||||
|
||||
val env = env0.getOrElse(compatibilityEnv)
|
||||
val env = env0.fold(compatibilityEnv)(!_)
|
||||
|
||||
env || nonInteractive || insideEmacs || ci
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue