REPL: do not output additional newline after compiler and runtime errors
This commit is contained in:
@@ -40,7 +40,7 @@ fun renderReplStackTrace(cause: Throwable, startFromMethodName: String): String
|
||||
@Suppress("PLATFORM_CLASS_MAPPED_TO_KOTLIN", "UsePropertyAccessSyntax")
|
||||
(cause as java.lang.Throwable).setStackTrace(resultingTrace.toTypedArray())
|
||||
|
||||
return Throwables.getStackTraceAsString(cause)
|
||||
return Throwables.getStackTraceAsString(cause).trimEnd()
|
||||
}
|
||||
|
||||
internal fun ClassLoader.listAllUrlsAsFiles(): List<File> {
|
||||
|
||||
Reference in New Issue
Block a user