mirror of
https://github.com/apache/maven-mvnd.git
synced 2025-09-09 15:09:23 +00:00
Do not print a warning if mvnd is launched outside of a terminal, see #513
This commit is contained in:
@@ -149,7 +149,7 @@ public class TerminalOutput implements ClientOutput {
|
||||
public TerminalOutput(boolean noBuffering, int rollingWindowSize, Path logFile) throws IOException {
|
||||
this.start = System.currentTimeMillis();
|
||||
TerminalBuilder builder = TerminalBuilder.builder();
|
||||
boolean outRedirected = CLibrary.isatty(0) == 1 && CLibrary.isatty(1) == 0;
|
||||
boolean outRedirected = CLibrary.isatty(1) == 0;
|
||||
if (outRedirected) {
|
||||
builder.dumb(true);
|
||||
}
|
||||
|
Reference in New Issue
Block a user