Skip to content

Commit 3aacba4

Browse files
committed
minor fixes
1 parent a883685 commit 3aacba4

File tree

1 file changed

+1
-1
lines changed
  • plugins/amazonq/chat/jetbrains-community/src/software/aws/toolkits/jetbrains/services/cwc/controller/chat/messenger

1 file changed

+1
-1
lines changed

plugins/amazonq/chat/jetbrains-community/src/software/aws/toolkits/jetbrains/services/cwc/controller/chat/messenger/ChatPromptHandler.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -228,7 +228,7 @@ class ChatPromptHandler(private val telemetryHelper: TelemetryHelper) {
228228
} else {
229229
responseText.toString()
230230
}
231-
if (codeBlockLanguage === "plaintext") {
231+
if (codeBlockLanguage == "plaintext") {
232232
// To get the language of generated code in Q chat.
233233
codeBlockLanguage = extractCodeBlockLanguage(message)
234234
}

0 commit comments

Comments
 (0)