Skip to content

Commit b22eca6

Browse files
committed
Lint errors
1 parent c04de5e commit b22eca6

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

plugins/amazonq/chat/jetbrains-community/src/software/aws/toolkits/jetbrains/services/amazonqCodeTest/CodeWhispererUTGChatManager.kt

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -530,7 +530,10 @@ class CodeWhispererUTGChatManager(val project: Project, private val cs: Coroutin
530530
// Add an answer for displaying error message
531531
val errorMessage = when {
532532
e is CodeTestException && e.statusCode == "400" &&
533-
e.message?.startsWith("CreateTestJobError: Maximum com.amazon.aws.codewhisperer.runtime.StartTestGeneration reached for this month.") == true ->
533+
e.message?.startsWith(
534+
"CreateTestJobError: " +
535+
"Maximum com.amazon.aws.codewhisperer.runtime.StartTestGeneration reached for this month."
536+
) == true ->
534537
message("testgen.error.maximum_generations_reach")
535538

536539
e is CodeTestException -> e.uiMessage

0 commit comments

Comments
 (0)