[ai-completion] make a report link clickable for easier access

GitOrigin-RevId: 6d90f6826991e2a0179188fb5828d2b246b58a82
This commit is contained in:
Oleg Taratukhin
2024-10-01 17:42:57 +02:00
committed by intellij-monorepo-bot
parent 2977a5106d
commit af7483f0d5

View File

@@ -15,8 +15,12 @@ class HeadlessFinishEvaluationStep : FinishEvaluationStep {
}
else {
println("Reports:")
workspace.getReports().forEach { println("${it.key}: ${it.value}") }
workspace.getReports().forEach { println("${it.key}: file://${it.value.toString().escape()}") }
}
}
}
private fun String.escape(): String {
return replace(" ", "%20")
}
}