We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ee23f93 commit b3a7e35Copy full SHA for b3a7e35
plugins/core/core/src/software/aws/toolkits/core/utils/TextUtils.kt
@@ -19,8 +19,8 @@ fun convertMarkdownToHTML(markdown: String): String {
19
20
fun extractCodeBlockLanguage(message: String): String {
21
// This fulfills both the cases of unit test generation(java, python) and general use case(Non java and Non python) languages.
22
- val defaultTestGenResponseLanguage: String = "plaintext"
23
- val indexStart: Int = 3
+ val defaultTestGenResponseLanguage = "plaintext"
+ val indexStart = 3
24
val codeBlockStart = message.indexOf("```")
25
if (codeBlockStart == -1) {
26
return defaultTestGenResponseLanguage
0 commit comments