mirror of
https://github.com/sbt/sbt.git
synced 2026-10-06 18:14:04 +02:00
Take into account COURSIER_PROGRESS the right way
COURSIER_PROGRESS=true was disabling progress bars before that
This commit is contained in:
+1
-1
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user