mirror of https://github.com/sbt/sbt.git
Make proxyErrorStream an object
This is useful for debugging
This commit is contained in:
parent
6e181ac843
commit
1b1690bec1
|
|
@ -645,7 +645,7 @@ object Terminal {
|
||||||
os.write(bytes, offset, len)
|
os.write(bytes, offset, len)
|
||||||
override def flush(): Unit = os.flush()
|
override def flush(): Unit = os.flush()
|
||||||
}
|
}
|
||||||
private[this] val proxyErrorStream = new PrintStream(proxyErrorOutputStream, true)
|
private[this] object proxyErrorStream extends PrintStream(proxyErrorOutputStream, true)
|
||||||
private[this] lazy val isWindows =
|
private[this] lazy val isWindows =
|
||||||
System.getProperty("os.name", "").toLowerCase(Locale.ENGLISH).indexOf("windows") >= 0
|
System.getProperty("os.name", "").toLowerCase(Locale.ENGLISH).indexOf("windows") >= 0
|
||||||
private[this] object WrappedSystemIn extends InputStream {
|
private[this] object WrappedSystemIn extends InputStream {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue