New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add the possibility to disable color #555

merged 2 commits into from Jul 3, 2018
Jump to file or symbol
Failed to load files and symbols.
+8 −2
Diff settings


Just for now

Viewing a subset of changes. View all

Support `NO_COLOR`

  • Loading branch information...
jvican committed Jul 3, 2018
commit ff6f17a0155633f86440e10d7889f077e7fbc91c
@@ -228,8 +228,14 @@ object Cli {
val commonOpts = cliOptions.common
val configDirectory = getConfigDir(cliOptions)
val logger =, commonOpts.out, commonOpts.err, cliOptions.verbose, !cliOptions.noColor)
val logger =
!(cliOptions.noColor || commonOpts.env.containsKey("NO_COLOR"))
val currentState = State.loadActiveStateFor(configDirectory, pool, cliOptions.common, logger)
if (Files.exists(configDirectory.underlying)) {
ProTip! Use n and p to navigate between commits in a pull request.