Skip to content

Commit d83cfcb

Browse files
Update plugins/amazonq/chat/jetbrains-community/src/software/aws/toolkits/jetbrains/services/amazonqCodeTest/controller/CodeTestChatController.kt
Co-authored-by: Tai Lai <[email protected]>
1 parent a6e22ca commit d83cfcb

File tree

1 file changed

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

1 file changed

+1
-3
lines changed

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

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -241,9 +241,7 @@ class CodeTestChatController(
241241
"language I support specialized unit test generation for at the moment.</b><br></span>The languages " +
242242
"I support now are Python and Java. I can still provide examples, instructions and code suggestions."
243243
} else {
244-
"<span style=\"color: #EE9D28;\">&#9888;<b>External File Detected: ${fileInfo.fileName} \n" +
245-
" is outside the project directory.</b><br></span>" +
246-
"However, I can still help you create unit tests for ${fileInfo.fileName} here"
244+
"<span style=\"color: #EE9D28;\">&#9888;<b> I can't generate tests for ${fileInfo.fileName} because it's outside the project directory. I can still provide examples, instructions and code suggestions."
247245
}
248246

249247
codeTestChatHelper.addNewMessage(

0 commit comments

Comments
 (0)