mirror of https://github.com/apache/maven.git
fix to actually read the environment variable value
This commit is contained in:
parent
68e102a63c
commit
18e3d3ea0d
|
@ -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