Add missing space in GradleStyleMessagerRenderer.render()
In `GradleStyleMessagerRenderer.render` method, when there is `location` pointing to some file and coordinates `line:column = 0:0`, then a space between the location and the message was not printed. #KT-61737 Fixed
This commit is contained in:
+2
-1
@@ -24,8 +24,9 @@ class GradleStyleMessageRenderer : MessageRenderer {
|
||||
val fileUri = File(path).toPath().toUri()
|
||||
append("$fileUri")
|
||||
if (line > 0 && column > 0) {
|
||||
append(":$line:$column ")
|
||||
append(":$line:$column")
|
||||
}
|
||||
append(' ')
|
||||
}
|
||||
|
||||
append(message)
|
||||
|
||||
Reference in New Issue
Block a user