diff --git a/frontend/src/main/scala/bloop/Cli.scala b/frontend/src/main/scala/bloop/Cli.scala index aaebb60607..ad185f4ab8 100644 --- a/frontend/src/main/scala/bloop/Cli.scala +++ b/frontend/src/main/scala/bloop/Cli.scala @@ -228,8 +228,14 @@ object Cli { val commonOpts = cliOptions.common val configDirectory = getConfigDir(cliOptions) - val logger = - BloopLogger.at(configDirectory.syntax, commonOpts.out, commonOpts.err, cliOptions.verbose, !cliOptions.noColor) + val logger = BloopLogger.at( + configDirectory.syntax, + commonOpts.out, + commonOpts.err, + cliOptions.verbose, + !(cliOptions.noColor || commonOpts.env.containsKey("NO_COLOR")) + ) + val currentState = State.loadActiveStateFor(configDirectory, pool, cliOptions.common, logger) if (Files.exists(configDirectory.underlying)) {