mirror of https://github.com/apache/maven.git
fix to actually read the environment variable value
This commit is contained in:
parent
cd4c904218
commit
db83880114
|
@ -4,7 +4,7 @@ package org.apache.maven.wrapper;
|
|||
* @author <a href="mailto:konstantin.sobolev@gmail.com">Konstantin Sobolev</a>
|
||||
*/
|
||||
public class Logger {
|
||||
private static final boolean VERBOSE = "true".equalsIgnoreCase(MavenWrapperMain.MVNW_VERBOSE);
|
||||
private static final boolean VERBOSE = "true".equalsIgnoreCase(System.getenv(MavenWrapperMain.MVNW_VERBOSE));
|
||||
|
||||
public static void info(String msg) {
|
||||
if (VERBOSE) {
|
||||
|
|
Loading…
Reference in New Issue