rfscholte commented on a change in pull request #415:
URL: https://github.com/apache/maven/pull/415#discussion_r549321675



##########
File path: maven-embedder/src/main/java/org/apache/maven/cli/MavenCli.java
##########
@@ -518,10 +520,9 @@ else if ( !"auto".equals( styleColor ) )
             throw new IllegalArgumentException( "Invalid color configuration 
option [" + styleColor
                 + "]. Supported values are (auto|always|never)." );
         }
-        else if ( cliRequest.commandLine.hasOption( CLIManager.BATCH_MODE )
-            || cliRequest.commandLine.hasOption( CLIManager.LOG_FILE ) )
+        else

Review comment:
       this else-statement can now be removed, because the color mode has 
already been applied




----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to