Take into account COURSIER_PROGRESS the right way

COURSIER_PROGRESS=true was disabling progress bars before that
This commit is contained in:
Alexandre Archambault 2017-02-21 15:57:38 +01:00
parent 114d2f95ad
commit 9ece419bc8
1 changed files with 1 additions and 1 deletions

View File

@ -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
}