mirror of
https://github.com/apple/pkl.git
synced 2026-03-18 23:33:55 +01:00
Revert error coloring (for development on dedicated branch) (#565)
This commit is contained in:
committed by
GitHub
parent
527d236ba4
commit
5cc2ea2d00
@@ -17,7 +17,6 @@ package org.pkl.commons.cli
|
||||
|
||||
import java.io.PrintStream
|
||||
import kotlin.system.exitProcess
|
||||
import org.fusesource.jansi.AnsiConsole
|
||||
|
||||
/** Building block for CLIs. Intended to be called from a `main` method. */
|
||||
fun cliMain(block: () -> Unit) {
|
||||
@@ -28,9 +27,6 @@ fun cliMain(block: () -> Unit) {
|
||||
if (!message.endsWith('\n')) stream.println()
|
||||
}
|
||||
|
||||
// Setup AnsiConsole. This will automatically strip escape codes if
|
||||
// the target shell doesn't appear to support them.
|
||||
AnsiConsole.systemInstall()
|
||||
// Force `native-image` to use system proxies (which does not happen with `-D`).
|
||||
System.setProperty("java.net.useSystemProxies", "true")
|
||||
try {
|
||||
|
||||
Reference in New Issue
Block a user