Make proxyErrorStream an object

This is useful for debugging
This commit is contained in:
Ethan Atkins 2020-09-17 08:14:01 -07:00
parent 6e181ac843
commit 1b1690bec1
1 changed files with 1 additions and 1 deletions

View File

@ -645,7 +645,7 @@ object Terminal {
os.write(bytes, offset, len)
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 =
System.getProperty("os.name", "").toLowerCase(Locale.ENGLISH).indexOf("windows") >= 0
private[this] object WrappedSystemIn extends InputStream {